diff --git a/plugins/argo-workflows-backend/.eslintrc.js b/plugins/argo-workflows-backend/.eslintrc.js new file mode 100644 index 0000000..e2a53a6 --- /dev/null +++ b/plugins/argo-workflows-backend/.eslintrc.js @@ -0,0 +1 @@ +module.exports = require('@backstage/cli/config/eslint-factory')(__dirname); diff --git a/plugins/argo-workflows-backend/README.md b/plugins/argo-workflows-backend/README.md new file mode 100644 index 0000000..6332f54 --- /dev/null +++ b/plugins/argo-workflows-backend/README.md @@ -0,0 +1,14 @@ +# argo-workflows-backend + +Welcome to the argo-workflows-backend backend plugin! + +_This plugin was created through the Backstage CLI_ + +## Getting started + +Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running `yarn +start` in the root directory, and then navigating to [/argo-workflows-backend](http://localhost:3000/argo-workflows-backend). + +You can also serve the plugin in isolation by running `yarn start` in the plugin directory. +This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads. +It is only meant for local development, and the setup for it can be found inside the [/dev](/dev) directory. diff --git a/plugins/argo-workflows-backend/api/client/ArchivedWorkflowServiceApi.md b/plugins/argo-workflows-backend/api/client/ArchivedWorkflowServiceApi.md new file mode 100644 index 0000000..d3654aa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/ArchivedWorkflowServiceApi.md @@ -0,0 +1,483 @@ +# .ArchivedWorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**archivedWorkflowServiceDeleteArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceDeleteArchivedWorkflow) | **DELETE** /api/v1/archived-workflows/{uid} | +[**archivedWorkflowServiceGetArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceGetArchivedWorkflow) | **GET** /api/v1/archived-workflows/{uid} | +[**archivedWorkflowServiceListArchivedWorkflowLabelKeys**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflowLabelKeys) | **GET** /api/v1/archived-workflows-label-keys | +[**archivedWorkflowServiceListArchivedWorkflowLabelValues**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflowLabelValues) | **GET** /api/v1/archived-workflows-label-values | +[**archivedWorkflowServiceListArchivedWorkflows**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflows) | **GET** /api/v1/archived-workflows | +[**archivedWorkflowServiceResubmitArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceResubmitArchivedWorkflow) | **PUT** /api/v1/archived-workflows/{uid}/resubmit | +[**archivedWorkflowServiceRetryArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceRetryArchivedWorkflow) | **PUT** /api/v1/archived-workflows/{uid}/retry | + + +# **archivedWorkflowServiceDeleteArchivedWorkflow** +> any archivedWorkflowServiceDeleteArchivedWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest = { + // string + uid: "uid_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceDeleteArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceGetArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceGetArchivedWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest = { + // string + uid: "uid_example", + // string (optional) + namespace: "namespace_example", + // string (optional) + name: "name_example", +}; + +apiInstance.archivedWorkflowServiceGetArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + **name** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflowLabelKeys** +> IoArgoprojWorkflowV1alpha1LabelKeys archivedWorkflowServiceListArchivedWorkflowLabelKeys() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest = { + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflowLabelKeys(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1LabelKeys** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflowLabelValues** +> IoArgoprojWorkflowV1alpha1LabelValues archivedWorkflowServiceListArchivedWorkflowLabelValues() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflowLabelValues(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1LabelValues** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflows** +> IoArgoprojWorkflowV1alpha1WorkflowList archivedWorkflowServiceListArchivedWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + namePrefix: "namePrefix_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **namePrefix** | [**string**] | | (optional) defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceResubmitArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceResubmitArchivedWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest = { + // string + uid: "uid_example", + // IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest + body: { + memoized: true, + name: "name_example", + namespace: "namespace_example", + parameters: [ + "parameters_example", + ], + uid: "uid_example", + }, +}; + +apiInstance.archivedWorkflowServiceResubmitArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest**| | + **uid** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceRetryArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceRetryArchivedWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest = { + // string + uid: "uid_example", + // IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + parameters: [ + "parameters_example", + ], + restartSuccessful: true, + uid: "uid_example", + }, +}; + +apiInstance.archivedWorkflowServiceRetryArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest**| | + **uid** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/ArtifactServiceApi.md b/plugins/argo-workflows-backend/api/client/ArtifactServiceApi.md new file mode 100644 index 0000000..912f724 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/ArtifactServiceApi.md @@ -0,0 +1,329 @@ +# .ArtifactServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**artifactServiceGetArtifactFile**](ArtifactServiceApi.md#artifactServiceGetArtifactFile) | **GET** /artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName} | Get an artifact. +[**artifactServiceGetInputArtifact**](ArtifactServiceApi.md#artifactServiceGetInputArtifact) | **GET** /input-artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an input artifact. +[**artifactServiceGetInputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByUID) | **GET** /input-artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an input artifact by UID. +[**artifactServiceGetOutputArtifact**](ArtifactServiceApi.md#artifactServiceGetOutputArtifact) | **GET** /artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an output artifact. +[**artifactServiceGetOutputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByUID) | **GET** /artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an output artifact by UID. + + +# **artifactServiceGetArtifactFile** +> HttpFile artifactServiceGetArtifactFile() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetArtifactFileRequest = { + // string + namespace: "namespace_example", + // 'workflow' | 'archived-workflows ' + idDiscriminator: "workflow", + // string + id: "id_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", + // 'outputs' + artifactDiscriminator: "outputs", +}; + +apiInstance.artifactServiceGetArtifactFile(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **idDiscriminator** | [**'workflow' | 'archived-workflows '**]**Array<'workflow' | 'archived-workflows '>** | | defaults to undefined + **id** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + **artifactDiscriminator** | [**'outputs'**]**Array<'outputs'>** | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetInputArtifact** +> HttpFile artifactServiceGetInputArtifact() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetInputArtifactRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetInputArtifact(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetInputArtifactByUID** +> HttpFile artifactServiceGetInputArtifactByUID() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest = { + // string + uid: "uid_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetInputArtifactByUID(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetOutputArtifact** +> HttpFile artifactServiceGetOutputArtifact() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetOutputArtifactRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetOutputArtifact(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetOutputArtifactByUID** +> HttpFile artifactServiceGetOutputArtifactByUID() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest = { + // string + uid: "uid_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetOutputArtifactByUID(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/ClusterWorkflowTemplateServiceApi.md b/plugins/argo-workflows-backend/api/client/ClusterWorkflowTemplateServiceApi.md new file mode 100644 index 0000000..7d4f642 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/ClusterWorkflowTemplateServiceApi.md @@ -0,0 +1,32024 @@ +# .ClusterWorkflowTemplateServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate) | **POST** /api/v1/cluster-workflow-templates | +[**clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate) | **DELETE** /api/v1/cluster-workflow-templates/{name} | +[**clusterWorkflowTemplateServiceGetClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceGetClusterWorkflowTemplate) | **GET** /api/v1/cluster-workflow-templates/{name} | +[**clusterWorkflowTemplateServiceLintClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceLintClusterWorkflowTemplate) | **POST** /api/v1/cluster-workflow-templates/lint | +[**clusterWorkflowTemplateServiceListClusterWorkflowTemplates**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceListClusterWorkflowTemplates) | **GET** /api/v1/cluster-workflow-templates | +[**clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate) | **PUT** /api/v1/cluster-workflow-templates/{name} | + + +# **clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest = { + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest**| | + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate** +> any clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest = { + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceGetClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceGetClusterWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest = { + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceLintClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest = { + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest**| | + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceListClusterWorkflowTemplates** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList clusterWorkflowTemplateServiceListClusterWorkflowTemplates() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest = { + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest + body: { + name: "name_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest**| | + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/CronWorkflowServiceApi.md b/plugins/argo-workflows-backend/api/client/CronWorkflowServiceApi.md new file mode 100644 index 0000000..182887e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/CronWorkflowServiceApi.md @@ -0,0 +1,32385 @@ +# .CronWorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**cronWorkflowServiceCreateCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceCreateCronWorkflow) | **POST** /api/v1/cron-workflows/{namespace} | +[**cronWorkflowServiceDeleteCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceDeleteCronWorkflow) | **DELETE** /api/v1/cron-workflows/{namespace}/{name} | +[**cronWorkflowServiceGetCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceGetCronWorkflow) | **GET** /api/v1/cron-workflows/{namespace}/{name} | +[**cronWorkflowServiceLintCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceLintCronWorkflow) | **POST** /api/v1/cron-workflows/{namespace}/lint | +[**cronWorkflowServiceListCronWorkflows**](CronWorkflowServiceApi.md#cronWorkflowServiceListCronWorkflows) | **GET** /api/v1/cron-workflows/{namespace} | +[**cronWorkflowServiceResumeCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceResumeCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name}/resume | +[**cronWorkflowServiceSuspendCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceSuspendCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name}/suspend | +[**cronWorkflowServiceUpdateCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceUpdateCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name} | + + +# **cronWorkflowServiceCreateCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceCreateCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceCreateCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceDeleteCronWorkflow** +> any cronWorkflowServiceDeleteCronWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.cronWorkflowServiceDeleteCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceGetCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceGetCronWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.cronWorkflowServiceGetCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceLintCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceLintCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest + body: { + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceLintCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceListCronWorkflows** +> IoArgoprojWorkflowV1alpha1CronWorkflowList cronWorkflowServiceListCronWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.cronWorkflowServiceListCronWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceResumeCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceResumeCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceResumeCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceSuspendCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceSuspendCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceSuspendCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceUpdateCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceUpdateCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest + body: { + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceUpdateCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/EventServiceApi.md b/plugins/argo-workflows-backend/api/client/EventServiceApi.md new file mode 100644 index 0000000..a0506b2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/EventServiceApi.md @@ -0,0 +1,152 @@ +# .EventServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**eventServiceListWorkflowEventBindings**](EventServiceApi.md#eventServiceListWorkflowEventBindings) | **GET** /api/v1/workflow-event-bindings/{namespace} | +[**eventServiceReceiveEvent**](EventServiceApi.md#eventServiceReceiveEvent) | **POST** /api/v1/events/{namespace}/{discriminator} | + + +# **eventServiceListWorkflowEventBindings** +> IoArgoprojWorkflowV1alpha1WorkflowEventBindingList eventServiceListWorkflowEventBindings() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventServiceApi(configuration); + +let body:.EventServiceApiEventServiceListWorkflowEventBindingsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventServiceListWorkflowEventBindings(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowEventBindingList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventServiceReceiveEvent** +> any eventServiceReceiveEvent(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventServiceApi(configuration); + +let body:.EventServiceApiEventServiceReceiveEventRequest = { + // string | 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. + namespace: "namespace_example", + // string | 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)` + discriminator: "discriminator_example", + // any | The event itself can be any data. + body: {}, +}; + +apiInstance.eventServiceReceiveEvent(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| The event itself can be any data. | + **namespace** | [**string**] | 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. | defaults to undefined + **discriminator** | [**string**] | 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)` | defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/EventSourceServiceApi.md b/plugins/argo-workflows-backend/api/client/EventSourceServiceApi.md new file mode 100644 index 0000000..afb8fbd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/EventSourceServiceApi.md @@ -0,0 +1,4970 @@ +# .EventSourceServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**eventSourceServiceCreateEventSource**](EventSourceServiceApi.md#eventSourceServiceCreateEventSource) | **POST** /api/v1/event-sources/{namespace} | +[**eventSourceServiceDeleteEventSource**](EventSourceServiceApi.md#eventSourceServiceDeleteEventSource) | **DELETE** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceEventSourcesLogs**](EventSourceServiceApi.md#eventSourceServiceEventSourcesLogs) | **GET** /api/v1/stream/event-sources/{namespace}/logs | +[**eventSourceServiceGetEventSource**](EventSourceServiceApi.md#eventSourceServiceGetEventSource) | **GET** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceListEventSources**](EventSourceServiceApi.md#eventSourceServiceListEventSources) | **GET** /api/v1/event-sources/{namespace} | +[**eventSourceServiceUpdateEventSource**](EventSourceServiceApi.md#eventSourceServiceUpdateEventSource) | **PUT** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceWatchEventSources**](EventSourceServiceApi.md#eventSourceServiceWatchEventSources) | **GET** /api/v1/stream/event-sources/{namespace} | + + +# **eventSourceServiceCreateEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceCreateEventSource(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceCreateEventSourceRequest = { + // string + namespace: "namespace_example", + // EventsourceCreateEventSourceRequest + body: { + eventSource: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + amqp: { + "key": { + auth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consume: { + autoAck: true, + consumerTag: "consumerTag_example", + exclusive: true, + noLocal: true, + noWait: true, + }, + exchangeDeclare: { + autoDelete: true, + durable: true, + internal: true, + noWait: true, + }, + exchangeName: "exchangeName_example", + exchangeType: "exchangeType_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queueBind: { + noWait: true, + }, + queueDeclare: { + arguments: "arguments_example", + autoDelete: true, + durable: true, + exclusive: true, + name: "name_example", + noWait: true, + }, + routingKey: "routingKey_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + urlSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + azureEventsHub: { + "key": { + filter: { + expression: "expression_example", + }, + fqdn: "fqdn_example", + hubName: "hubName_example", + metadata: { + "key": "key_example", + }, + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + bitbucket: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauthToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + owner: "owner_example", + projectKey: "projectKey_example", + repositories: [ + { + owner: "owner_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + bitbucketserver: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bitbucketserverBaseURL: "bitbucketserverBaseURL_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + projectKey: "projectKey_example", + repositories: [ + { + projectKey: "projectKey_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + calendar: { + "key": { + exclusionDates: [ + "exclusionDates_example", + ], + filter: { + expression: "expression_example", + }, + interval: "interval_example", + metadata: { + "key": "key_example", + }, + persistence: { + catchup: { + enabled: true, + maxDuration: "maxDuration_example", + }, + configMap: { + createIfNotExist: true, + name: "name_example", + }, + }, + schedule: "schedule_example", + timezone: "timezone_example", + }, + }, + emitter: { + "key": { + broker: "broker_example", + channelKey: "channelKey_example", + channelName: "channelName_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + eventBusName: "eventBusName_example", + file: { + "key": { + eventType: "eventType_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + polling: true, + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + generic: { + "key": { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + config: "config_example", + filter: { + expression: "expression_example", + }, + insecure: true, + jsonBody: true, + metadata: { + "key": "key_example", + }, + url: "url_example", + }, + }, + github: { + "key": { + active: true, + apiToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + contentType: "contentType_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + githubApp: { + appID: "appID_example", + installationID: "installationID_example", + privateKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + githubBaseURL: "githubBaseURL_example", + githubUploadURL: "githubUploadURL_example", + id: "id_example", + insecure: true, + metadata: { + "key": "key_example", + }, + organizations: [ + "organizations_example", + ], + owner: "owner_example", + repositories: [ + { + names: [ + "names_example", + ], + owner: "owner_example", + }, + ], + repository: "repository_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + gitlab: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteHookOnFinish: true, + enableSSLVerification: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + gitlabBaseURL: "gitlabBaseURL_example", + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + projects: [ + "projects_example", + ], + secretToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + hdfs: { + "key": { + addresses: [ + "addresses_example", + ], + checkInterval: "checkInterval_example", + filter: { + expression: "expression_example", + }, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + metadata: { + "key": "key_example", + }, + type: "type_example", + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + kafka: { + "key": { + config: "config_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consumerGroup: { + groupName: "groupName_example", + oldest: true, + rebalanceStrategy: "rebalanceStrategy_example", + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + limitEventsPerSecond: "limitEventsPerSecond_example", + metadata: { + "key": "key_example", + }, + partition: "partition_example", + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + }, + minio: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + mqtt: { + "key": { + clientId: "clientId_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + }, + }, + nats: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + credential: { + key: "key_example", + name: "name_example", + optional: true, + }, + nkey: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + }, + nsq: { + "key": { + channel: "channel_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + }, + }, + pubSub: { + "key": { + credentialSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteSubscriptionOnFinish: true, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + subscriptionID: "subscriptionID_example", + topic: "topic_example", + topicProjectID: "topicProjectID_example", + }, + }, + pulsar: { + "key": { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topics: [ + "topics_example", + ], + type: "type_example", + url: "url_example", + }, + }, + redis: { + "key": { + channels: [ + "channels_example", + ], + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + redisStream: { + "key": { + consumerGroup: "consumerGroup_example", + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + maxMsgCountPerRead: 1, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + streams: [ + "streams_example", + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + replicas: 1, + resource: { + "key": { + eventTypes: [ + "eventTypes_example", + ], + filter: { + afterStart: true, + createdBy: new Date('1970-01-01T00:00:00.00Z'), + fields: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + labels: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + prefix: "prefix_example", + }, + groupVersionResource: { + group: "group_example", + resource: "resource_example", + version: "version_example", + }, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + }, + }, + service: { + clusterIP: "clusterIP_example", + ports: [ + { + appProtocol: "appProtocol_example", + name: "name_example", + nodePort: 1, + port: 1, + protocol: "SCTP", + targetPort: "targetPort_example", + }, + ], + }, + slack: { + "key": { + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + signingSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sns: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + topicArn: "topicArn_example", + validateSignature: true, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sqs: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + dlq: true, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queue: "queue_example", + queueAccountId: "queueAccountId_example", + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sessionToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + waitTimeSeconds: "waitTimeSeconds_example", + }, + }, + storageGrid: { + "key": { + apiURL: "apiURL_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + topicArn: "topicArn_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + stripe: { + "key": { + apiKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + createWebhook: true, + eventFilter: [ + "eventFilter_example", + ], + metadata: { + "key": "key_example", + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + webhook: { + "key": { + filter: { + expression: "expression_example", + }, + webhookContext: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.eventSourceServiceCreateEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **EventsourceCreateEventSourceRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceDeleteEventSource** +> any eventSourceServiceDeleteEventSource() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.eventSourceServiceDeleteEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceEventSourcesLogs** +> StreamResultOfEventsourceLogEntry eventSourceServiceEventSourcesLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest = { + // string + namespace: "namespace_example", + // string | optional - only return entries for this event source. (optional) + name: "name_example", + // string | optional - only return entries for this event source type (e.g. `webhook`). (optional) + eventSourceType: "eventSourceType_example", + // string | optional - only return entries for this event name (e.g. `example`). (optional) + eventName: "eventName_example", + // string | optional - only return entries where `msg` matches this regular expression. (optional) + grep: "grep_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + podLogOptionsContainer: "podLogOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + podLogOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + podLogOptionsPrevious: true, + // string | 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. (optional) + podLogOptionsSinceSeconds: "podLogOptions.sinceSeconds_example", + // string | 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. (optional) + podLogOptionsSinceTimeSeconds: "podLogOptions.sinceTime.seconds_example", + // number | 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. (optional) + podLogOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + podLogOptionsTimestamps: true, + // string | 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. (optional) + podLogOptionsTailLines: "podLogOptions.tailLines_example", + // string | 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. (optional) + podLogOptionsLimitBytes: "podLogOptions.limitBytes_example", + // boolean | 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. (optional) + podLogOptionsInsecureSkipTLSVerifyBackend: true, +}; + +apiInstance.eventSourceServiceEventSourcesLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | optional - only return entries for this event source. | (optional) defaults to undefined + **eventSourceType** | [**string**] | optional - only return entries for this event source type (e.g. `webhook`). | (optional) defaults to undefined + **eventName** | [**string**] | optional - only return entries for this event name (e.g. `example`). | (optional) defaults to undefined + **grep** | [**string**] | optional - only return entries where `msg` matches this regular expression. | (optional) defaults to undefined + **podLogOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **podLogOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **podLogOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfEventsourceLogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceGetEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceGetEventSource() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceGetEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", +}; + +apiInstance.eventSourceServiceGetEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceListEventSources** +> IoArgoprojEventsV1alpha1EventSourceList eventSourceServiceListEventSources() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceListEventSourcesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventSourceServiceListEventSources(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceUpdateEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceUpdateEventSource(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // EventsourceUpdateEventSourceRequest + body: { + eventSource: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + amqp: { + "key": { + auth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consume: { + autoAck: true, + consumerTag: "consumerTag_example", + exclusive: true, + noLocal: true, + noWait: true, + }, + exchangeDeclare: { + autoDelete: true, + durable: true, + internal: true, + noWait: true, + }, + exchangeName: "exchangeName_example", + exchangeType: "exchangeType_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queueBind: { + noWait: true, + }, + queueDeclare: { + arguments: "arguments_example", + autoDelete: true, + durable: true, + exclusive: true, + name: "name_example", + noWait: true, + }, + routingKey: "routingKey_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + urlSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + azureEventsHub: { + "key": { + filter: { + expression: "expression_example", + }, + fqdn: "fqdn_example", + hubName: "hubName_example", + metadata: { + "key": "key_example", + }, + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + bitbucket: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauthToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + owner: "owner_example", + projectKey: "projectKey_example", + repositories: [ + { + owner: "owner_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + bitbucketserver: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bitbucketserverBaseURL: "bitbucketserverBaseURL_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + projectKey: "projectKey_example", + repositories: [ + { + projectKey: "projectKey_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + calendar: { + "key": { + exclusionDates: [ + "exclusionDates_example", + ], + filter: { + expression: "expression_example", + }, + interval: "interval_example", + metadata: { + "key": "key_example", + }, + persistence: { + catchup: { + enabled: true, + maxDuration: "maxDuration_example", + }, + configMap: { + createIfNotExist: true, + name: "name_example", + }, + }, + schedule: "schedule_example", + timezone: "timezone_example", + }, + }, + emitter: { + "key": { + broker: "broker_example", + channelKey: "channelKey_example", + channelName: "channelName_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + eventBusName: "eventBusName_example", + file: { + "key": { + eventType: "eventType_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + polling: true, + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + generic: { + "key": { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + config: "config_example", + filter: { + expression: "expression_example", + }, + insecure: true, + jsonBody: true, + metadata: { + "key": "key_example", + }, + url: "url_example", + }, + }, + github: { + "key": { + active: true, + apiToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + contentType: "contentType_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + githubApp: { + appID: "appID_example", + installationID: "installationID_example", + privateKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + githubBaseURL: "githubBaseURL_example", + githubUploadURL: "githubUploadURL_example", + id: "id_example", + insecure: true, + metadata: { + "key": "key_example", + }, + organizations: [ + "organizations_example", + ], + owner: "owner_example", + repositories: [ + { + names: [ + "names_example", + ], + owner: "owner_example", + }, + ], + repository: "repository_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + gitlab: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteHookOnFinish: true, + enableSSLVerification: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + gitlabBaseURL: "gitlabBaseURL_example", + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + projects: [ + "projects_example", + ], + secretToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + hdfs: { + "key": { + addresses: [ + "addresses_example", + ], + checkInterval: "checkInterval_example", + filter: { + expression: "expression_example", + }, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + metadata: { + "key": "key_example", + }, + type: "type_example", + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + kafka: { + "key": { + config: "config_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consumerGroup: { + groupName: "groupName_example", + oldest: true, + rebalanceStrategy: "rebalanceStrategy_example", + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + limitEventsPerSecond: "limitEventsPerSecond_example", + metadata: { + "key": "key_example", + }, + partition: "partition_example", + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + }, + minio: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + mqtt: { + "key": { + clientId: "clientId_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + }, + }, + nats: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + credential: { + key: "key_example", + name: "name_example", + optional: true, + }, + nkey: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + }, + nsq: { + "key": { + channel: "channel_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + }, + }, + pubSub: { + "key": { + credentialSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteSubscriptionOnFinish: true, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + subscriptionID: "subscriptionID_example", + topic: "topic_example", + topicProjectID: "topicProjectID_example", + }, + }, + pulsar: { + "key": { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topics: [ + "topics_example", + ], + type: "type_example", + url: "url_example", + }, + }, + redis: { + "key": { + channels: [ + "channels_example", + ], + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + redisStream: { + "key": { + consumerGroup: "consumerGroup_example", + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + maxMsgCountPerRead: 1, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + streams: [ + "streams_example", + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + replicas: 1, + resource: { + "key": { + eventTypes: [ + "eventTypes_example", + ], + filter: { + afterStart: true, + createdBy: new Date('1970-01-01T00:00:00.00Z'), + fields: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + labels: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + prefix: "prefix_example", + }, + groupVersionResource: { + group: "group_example", + resource: "resource_example", + version: "version_example", + }, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + }, + }, + service: { + clusterIP: "clusterIP_example", + ports: [ + { + appProtocol: "appProtocol_example", + name: "name_example", + nodePort: 1, + port: 1, + protocol: "SCTP", + targetPort: "targetPort_example", + }, + ], + }, + slack: { + "key": { + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + signingSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sns: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + topicArn: "topicArn_example", + validateSignature: true, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sqs: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + dlq: true, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queue: "queue_example", + queueAccountId: "queueAccountId_example", + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sessionToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + waitTimeSeconds: "waitTimeSeconds_example", + }, + }, + storageGrid: { + "key": { + apiURL: "apiURL_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + topicArn: "topicArn_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + stripe: { + "key": { + apiKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + createWebhook: true, + eventFilter: [ + "eventFilter_example", + ], + metadata: { + "key": "key_example", + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + webhook: { + "key": { + filter: { + expression: "expression_example", + }, + webhookContext: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.eventSourceServiceUpdateEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **EventsourceUpdateEventSourceRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceWatchEventSources** +> StreamResultOfEventsourceEventSourceWatchEvent eventSourceServiceWatchEventSources() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventSourceServiceWatchEventSources(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfEventsourceEventSourceWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/InfoServiceApi.md b/plugins/argo-workflows-backend/api/client/InfoServiceApi.md new file mode 100644 index 0000000..9787b8e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/InfoServiceApi.md @@ -0,0 +1,213 @@ +# .InfoServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**infoServiceCollectEvent**](InfoServiceApi.md#infoServiceCollectEvent) | **POST** /api/v1/tracking/event | +[**infoServiceGetInfo**](InfoServiceApi.md#infoServiceGetInfo) | **GET** /api/v1/info | +[**infoServiceGetUserInfo**](InfoServiceApi.md#infoServiceGetUserInfo) | **GET** /api/v1/userinfo | +[**infoServiceGetVersion**](InfoServiceApi.md#infoServiceGetVersion) | **GET** /api/v1/version | + + +# **infoServiceCollectEvent** +> any infoServiceCollectEvent(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:.InfoServiceApiInfoServiceCollectEventRequest = { + // IoArgoprojWorkflowV1alpha1CollectEventRequest + body: { + name: "name_example", + }, +}; + +apiInstance.infoServiceCollectEvent(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CollectEventRequest**| | + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetInfo** +> IoArgoprojWorkflowV1alpha1InfoResponse infoServiceGetInfo() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetInfo(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1InfoResponse** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetUserInfo** +> IoArgoprojWorkflowV1alpha1GetUserInfoResponse infoServiceGetUserInfo() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetUserInfo(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1GetUserInfoResponse** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetVersion** +> IoArgoprojWorkflowV1alpha1Version infoServiceGetVersion() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetVersion(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1Version** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/README.md b/plugins/argo-workflows-backend/api/client/README.md new file mode 100644 index 0000000..f1f2196 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/README.md @@ -0,0 +1,80 @@ +## @ + +This generator creates TypeScript/JavaScript client that utilizes fetch-api. + +### Building + +To build and compile the typescript sources to javascript use: +``` +npm install +npm run build +``` + +### Publishing + +First build the package then run ```npm publish``` + +### Consuming + +Navigate to the folder of your consuming project and run one of the following commands. + +_published:_ + +``` +npm install @ --save +``` + +_unPublished (not recommended):_ + +``` +npm install PATH_TO_GENERATED_PACKAGE --save +``` + +### Usage + +Below code snippet shows exemplary usage of the configuration and the API based +on the typical `PetStore` example used for OpenAPI. + +``` +import * as your_api from 'your_api_package' + +// Covers all auth methods included in your OpenAPI yaml definition +const authConfig: your_api.AuthMethodsConfiguration = { + "api_key": "YOUR_API_KEY" +} + +// Implements a simple middleware to modify requests before (`pre`) they are sent +// and after (`post`) they have been received +class Test implements your_api.Middleware { + pre(context: your_api.RequestContext): Promise { + // Modify context here and return + return Promise.resolve(context); + } + + post(context: your_api.ResponseContext): Promise { + return Promise.resolve(context); + } + +} + +// Create configuration parameter object +const configurationParameters = { + httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine + baseServer: your_api.servers[0], // First server is default + authMethods: authConfig, // No auth is default + promiseMiddleware: [new Test()], +} + +// Convert to actual configuration +const config = your_api.createConfiguration(configurationParameters); + +// Use configuration with your_api +const api = new your_api.PetApi(config); +your_api.Pet p = new your_api.Pet(); +p.name = "My new pet"; +p.photoUrls = []; +p.tags = []; +p.status = "available"; +Promise createdPet = api.addPet(p); + +``` diff --git a/plugins/argo-workflows-backend/api/client/SensorServiceApi.md b/plugins/argo-workflows-backend/api/client/SensorServiceApi.md new file mode 100644 index 0000000..49c6400 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/SensorServiceApi.md @@ -0,0 +1,4071 @@ +# .SensorServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**sensorServiceCreateSensor**](SensorServiceApi.md#sensorServiceCreateSensor) | **POST** /api/v1/sensors/{namespace} | +[**sensorServiceDeleteSensor**](SensorServiceApi.md#sensorServiceDeleteSensor) | **DELETE** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceGetSensor**](SensorServiceApi.md#sensorServiceGetSensor) | **GET** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceListSensors**](SensorServiceApi.md#sensorServiceListSensors) | **GET** /api/v1/sensors/{namespace} | +[**sensorServiceSensorsLogs**](SensorServiceApi.md#sensorServiceSensorsLogs) | **GET** /api/v1/stream/sensors/{namespace}/logs | +[**sensorServiceUpdateSensor**](SensorServiceApi.md#sensorServiceUpdateSensor) | **PUT** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceWatchSensors**](SensorServiceApi.md#sensorServiceWatchSensors) | **GET** /api/v1/stream/sensors/{namespace} | + + +# **sensorServiceCreateSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceCreateSensor(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceCreateSensorRequest = { + // string + namespace: "namespace_example", + // SensorCreateSensorRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + sensor: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + dependencies: [ + { + eventName: "eventName_example", + eventSourceName: "eventSourceName_example", + filters: { + context: { + datacontenttype: "datacontenttype_example", + id: "id_example", + source: "source_example", + specversion: "specversion_example", + subject: "subject_example", + time: new Date('1970-01-01T00:00:00.00Z'), + type: "type_example", + }, + data: [ + { + comparator: "comparator_example", + path: "path_example", + template: "template_example", + type: "type_example", + value: [ + "value_example", + ], + }, + ], + dataLogicalOperator: "dataLogicalOperator_example", + exprLogicalOperator: "exprLogicalOperator_example", + exprs: [ + { + expr: "expr_example", + fields: [ + { + name: "name_example", + path: "path_example", + }, + ], + }, + ], + script: "script_example", + time: { + start: "start_example", + stop: "stop_example", + }, + }, + filtersLogicalOperator: "filtersLogicalOperator_example", + name: "name_example", + transform: { + jq: "jq_example", + script: "script_example", + }, + }, + ], + errorOnFailedRound: true, + eventBusName: "eventBusName_example", + replicas: 1, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + triggers: [ + { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + policy: { + k8s: { + backoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + errorOnBackoffTimeout: true, + labels: { + "key": "key_example", + }, + }, + status: { + allow: [ + 1, + ], + }, + }, + rateLimit: { + requestsPerUnit: 1, + unit: "unit_example", + }, + retryStrategy: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + template: { + argoWorkflow: { + args: [ + "args_example", + ], + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + awsLambda: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + functionName: "functionName_example", + invocationType: "invocationType_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azureEventHubs: { + fqdn: "fqdn_example", + hubName: "hubName_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + conditions: "conditions_example", + conditionsReset: [ + { + byTime: { + cron: "cron_example", + timezone: "timezone_example", + }, + }, + ], + custom: { + certSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secure: true, + serverNameOverride: "serverNameOverride_example", + serverURL: "serverURL_example", + spec: { + "key": "key_example", + }, + }, + http: { + basicAuth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + headers: { + "key": "key_example", + }, + method: "method_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secureHeaders: [ + { + name: "name_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + timeout: "timeout_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + k8s: { + liveObject: true, + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + patchStrategy: "patchStrategy_example", + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + kafka: { + compress: true, + flushFrequency: 1, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + partition: 1, + partitioningKey: "partitioningKey_example", + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + requiredAcks: 1, + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + log: { + intervalSeconds: "intervalSeconds_example", + }, + name: "name_example", + nats: { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + openWhisk: { + actionName: "actionName_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + host: "host_example", + namespace: "namespace_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + version: "version_example", + }, + pulsar: { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topic: "topic_example", + url: "url_example", + }, + slack: { + channel: "channel_example", + message: "message_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + slackToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + }, + ], + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + }, +}; + +apiInstance.sensorServiceCreateSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **SensorCreateSensorRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceDeleteSensor** +> any sensorServiceDeleteSensor() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceDeleteSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.sensorServiceDeleteSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceGetSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceGetSensor() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceGetSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.sensorServiceGetSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceListSensors** +> IoArgoprojEventsV1alpha1SensorList sensorServiceListSensors() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceListSensorsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.sensorServiceListSensors(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1SensorList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceSensorsLogs** +> StreamResultOfSensorLogEntry sensorServiceSensorsLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceSensorsLogsRequest = { + // string + namespace: "namespace_example", + // string | optional - only return entries for this sensor name. (optional) + name: "name_example", + // string | optional - only return entries for this trigger. (optional) + triggerName: "triggerName_example", + // string | option - only return entries where `msg` contains this regular expressions. (optional) + grep: "grep_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + podLogOptionsContainer: "podLogOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + podLogOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + podLogOptionsPrevious: true, + // string | 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. (optional) + podLogOptionsSinceSeconds: "podLogOptions.sinceSeconds_example", + // string | 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. (optional) + podLogOptionsSinceTimeSeconds: "podLogOptions.sinceTime.seconds_example", + // number | 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. (optional) + podLogOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + podLogOptionsTimestamps: true, + // string | 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. (optional) + podLogOptionsTailLines: "podLogOptions.tailLines_example", + // string | 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. (optional) + podLogOptionsLimitBytes: "podLogOptions.limitBytes_example", + // boolean | 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. (optional) + podLogOptionsInsecureSkipTLSVerifyBackend: true, +}; + +apiInstance.sensorServiceSensorsLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | optional - only return entries for this sensor name. | (optional) defaults to undefined + **triggerName** | [**string**] | optional - only return entries for this trigger. | (optional) defaults to undefined + **grep** | [**string**] | option - only return entries where `msg` contains this regular expressions. | (optional) defaults to undefined + **podLogOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **podLogOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **podLogOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfSensorLogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceUpdateSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceUpdateSensor(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceUpdateSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // SensorUpdateSensorRequest + body: { + name: "name_example", + namespace: "namespace_example", + sensor: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + dependencies: [ + { + eventName: "eventName_example", + eventSourceName: "eventSourceName_example", + filters: { + context: { + datacontenttype: "datacontenttype_example", + id: "id_example", + source: "source_example", + specversion: "specversion_example", + subject: "subject_example", + time: new Date('1970-01-01T00:00:00.00Z'), + type: "type_example", + }, + data: [ + { + comparator: "comparator_example", + path: "path_example", + template: "template_example", + type: "type_example", + value: [ + "value_example", + ], + }, + ], + dataLogicalOperator: "dataLogicalOperator_example", + exprLogicalOperator: "exprLogicalOperator_example", + exprs: [ + { + expr: "expr_example", + fields: [ + { + name: "name_example", + path: "path_example", + }, + ], + }, + ], + script: "script_example", + time: { + start: "start_example", + stop: "stop_example", + }, + }, + filtersLogicalOperator: "filtersLogicalOperator_example", + name: "name_example", + transform: { + jq: "jq_example", + script: "script_example", + }, + }, + ], + errorOnFailedRound: true, + eventBusName: "eventBusName_example", + replicas: 1, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + triggers: [ + { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + policy: { + k8s: { + backoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + errorOnBackoffTimeout: true, + labels: { + "key": "key_example", + }, + }, + status: { + allow: [ + 1, + ], + }, + }, + rateLimit: { + requestsPerUnit: 1, + unit: "unit_example", + }, + retryStrategy: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + template: { + argoWorkflow: { + args: [ + "args_example", + ], + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + awsLambda: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + functionName: "functionName_example", + invocationType: "invocationType_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azureEventHubs: { + fqdn: "fqdn_example", + hubName: "hubName_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + conditions: "conditions_example", + conditionsReset: [ + { + byTime: { + cron: "cron_example", + timezone: "timezone_example", + }, + }, + ], + custom: { + certSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secure: true, + serverNameOverride: "serverNameOverride_example", + serverURL: "serverURL_example", + spec: { + "key": "key_example", + }, + }, + http: { + basicAuth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + headers: { + "key": "key_example", + }, + method: "method_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secureHeaders: [ + { + name: "name_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + timeout: "timeout_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + k8s: { + liveObject: true, + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + patchStrategy: "patchStrategy_example", + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + kafka: { + compress: true, + flushFrequency: 1, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + partition: 1, + partitioningKey: "partitioningKey_example", + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + requiredAcks: 1, + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + log: { + intervalSeconds: "intervalSeconds_example", + }, + name: "name_example", + nats: { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + openWhisk: { + actionName: "actionName_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + host: "host_example", + namespace: "namespace_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + version: "version_example", + }, + pulsar: { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topic: "topic_example", + url: "url_example", + }, + slack: { + channel: "channel_example", + message: "message_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + slackToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + }, + ], + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + }, +}; + +apiInstance.sensorServiceUpdateSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **SensorUpdateSensorRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceWatchSensors** +> StreamResultOfSensorSensorWatchEvent sensorServiceWatchSensors() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceWatchSensorsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.sensorServiceWatchSensors(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfSensorSensorWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/WorkflowServiceApi.md b/plugins/argo-workflows-backend/api/client/WorkflowServiceApi.md new file mode 100644 index 0000000..e58fa4a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/WorkflowServiceApi.md @@ -0,0 +1,55168 @@ +# .WorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**workflowServiceCreateWorkflow**](WorkflowServiceApi.md#workflowServiceCreateWorkflow) | **POST** /api/v1/workflows/{namespace} | +[**workflowServiceDeleteWorkflow**](WorkflowServiceApi.md#workflowServiceDeleteWorkflow) | **DELETE** /api/v1/workflows/{namespace}/{name} | +[**workflowServiceGetWorkflow**](WorkflowServiceApi.md#workflowServiceGetWorkflow) | **GET** /api/v1/workflows/{namespace}/{name} | +[**workflowServiceLintWorkflow**](WorkflowServiceApi.md#workflowServiceLintWorkflow) | **POST** /api/v1/workflows/{namespace}/lint | +[**workflowServiceListWorkflows**](WorkflowServiceApi.md#workflowServiceListWorkflows) | **GET** /api/v1/workflows/{namespace} | +[**workflowServicePodLogs**](WorkflowServiceApi.md#workflowServicePodLogs) | **GET** /api/v1/workflows/{namespace}/{name}/{podName}/log | DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. +[**workflowServiceResubmitWorkflow**](WorkflowServiceApi.md#workflowServiceResubmitWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resubmit | +[**workflowServiceResumeWorkflow**](WorkflowServiceApi.md#workflowServiceResumeWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resume | +[**workflowServiceRetryWorkflow**](WorkflowServiceApi.md#workflowServiceRetryWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/retry | +[**workflowServiceSetWorkflow**](WorkflowServiceApi.md#workflowServiceSetWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/set | +[**workflowServiceStopWorkflow**](WorkflowServiceApi.md#workflowServiceStopWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/stop | +[**workflowServiceSubmitWorkflow**](WorkflowServiceApi.md#workflowServiceSubmitWorkflow) | **POST** /api/v1/workflows/{namespace}/submit | +[**workflowServiceSuspendWorkflow**](WorkflowServiceApi.md#workflowServiceSuspendWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/suspend | +[**workflowServiceTerminateWorkflow**](WorkflowServiceApi.md#workflowServiceTerminateWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/terminate | +[**workflowServiceWatchEvents**](WorkflowServiceApi.md#workflowServiceWatchEvents) | **GET** /api/v1/stream/events/{namespace} | +[**workflowServiceWatchWorkflows**](WorkflowServiceApi.md#workflowServiceWatchWorkflows) | **GET** /api/v1/workflow-events/{namespace} | +[**workflowServiceWorkflowLogs**](WorkflowServiceApi.md#workflowServiceWorkflowLogs) | **GET** /api/v1/workflows/{namespace}/{name}/log | + + +# **workflowServiceCreateWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceCreateWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceCreateWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + instanceID: "instanceID_example", + namespace: "namespace_example", + serverDryRun: true, + workflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + status: { + artifactGCStatus: { + notSpecified: true, + podsRecouped: { + "key": true, + }, + strategiesProcessed: { + "key": true, + }, + }, + artifactRepositoryRef: { + artifactRepository: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repoURL: "repoURL_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blobNameFormat: "blobNameFormat_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + keyFormat: "keyFormat_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + pathFormat: "pathFormat_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + keyFormat: "keyFormat_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + keyFormat: "keyFormat_example", + keyPrefix: "keyPrefix_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + configMap: "configMap_example", + _default: true, + key: "key_example", + namespace: "namespace_example", + }, + compressedNodes: "compressedNodes_example", + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + nodes: { + "key": { + boundaryID: "boundaryID_example", + children: [ + "children_example", + ], + daemoned: true, + displayName: "displayName_example", + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + hostNodeName: "hostNodeName_example", + id: "id_example", + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoizationStatus: { + cacheName: "cacheName_example", + hit: true, + key: "key_example", + }, + message: "message_example", + name: "name_example", + outboundNodes: [ + "outboundNodes_example", + ], + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + phase: "phase_example", + podIP: "podIP_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + synchronizationStatus: { + waiting: "waiting_example", + }, + templateName: "templateName_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + templateScope: "templateScope_example", + type: "type_example", + }, + }, + offloadNodeStatusVersion: "offloadNodeStatusVersion_example", + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + persistentVolumeClaims: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + phase: "phase_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + storedTemplates: { + "key": { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + }, + storedWorkflowTemplateSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + synchronization: { + mutex: { + holding: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + waiting: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + }, + semaphore: { + holding: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + waiting: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + }, + }, + }, + }, + }, +}; + +apiInstance.workflowServiceCreateWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowCreateRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceDeleteWorkflow** +> any workflowServiceDeleteWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], + // boolean (optional) + force: true, +}; + +apiInstance.workflowServiceDeleteWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + **force** | [**boolean**] | | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceGetWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceGetWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceGetWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", + // string | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceGetWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **fields** | [**string**] | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceLintWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceLintWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceLintWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowLintRequest + body: { + namespace: "namespace_example", + workflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + status: { + artifactGCStatus: { + notSpecified: true, + podsRecouped: { + "key": true, + }, + strategiesProcessed: { + "key": true, + }, + }, + artifactRepositoryRef: { + artifactRepository: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repoURL: "repoURL_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blobNameFormat: "blobNameFormat_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + keyFormat: "keyFormat_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + pathFormat: "pathFormat_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + keyFormat: "keyFormat_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + keyFormat: "keyFormat_example", + keyPrefix: "keyPrefix_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + configMap: "configMap_example", + _default: true, + key: "key_example", + namespace: "namespace_example", + }, + compressedNodes: "compressedNodes_example", + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + nodes: { + "key": { + boundaryID: "boundaryID_example", + children: [ + "children_example", + ], + daemoned: true, + displayName: "displayName_example", + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + hostNodeName: "hostNodeName_example", + id: "id_example", + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoizationStatus: { + cacheName: "cacheName_example", + hit: true, + key: "key_example", + }, + message: "message_example", + name: "name_example", + outboundNodes: [ + "outboundNodes_example", + ], + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + phase: "phase_example", + podIP: "podIP_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + synchronizationStatus: { + waiting: "waiting_example", + }, + templateName: "templateName_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + templateScope: "templateScope_example", + type: "type_example", + }, + }, + offloadNodeStatusVersion: "offloadNodeStatusVersion_example", + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + persistentVolumeClaims: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + phase: "phase_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + storedTemplates: { + "key": { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + }, + storedWorkflowTemplateSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + synchronization: { + mutex: { + holding: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + waiting: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + }, + semaphore: { + holding: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + waiting: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + }, + }, + }, + }, + }, +}; + +apiInstance.workflowServiceLintWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowLintRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceListWorkflows** +> IoArgoprojWorkflowV1alpha1WorkflowList workflowServiceListWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceListWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceListWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **fields** | [**string**] | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServicePodLogs** +> StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry workflowServicePodLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServicePodLogsRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + podName: "podName_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + logOptionsContainer: "logOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + logOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + logOptionsPrevious: true, + // string | 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. (optional) + logOptionsSinceSeconds: "logOptions.sinceSeconds_example", + // string | 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. (optional) + logOptionsSinceTimeSeconds: "logOptions.sinceTime.seconds_example", + // number | 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. (optional) + logOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + logOptionsTimestamps: true, + // string | 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. (optional) + logOptionsTailLines: "logOptions.tailLines_example", + // string | 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. (optional) + logOptionsLimitBytes: "logOptions.limitBytes_example", + // boolean | 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. (optional) + logOptionsInsecureSkipTLSVerifyBackend: true, + // string (optional) + grep: "grep_example", + // string (optional) + selector: "selector_example", +}; + +apiInstance.workflowServicePodLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **podName** | [**string**] | | defaults to undefined + **logOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **logOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **logOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + **grep** | [**string**] | | (optional) defaults to undefined + **selector** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceResubmitWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceResubmitWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest + body: { + memoized: true, + name: "name_example", + namespace: "namespace_example", + parameters: [ + "parameters_example", + ], + }, +}; + +apiInstance.workflowServiceResubmitWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceResumeWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceResumeWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceResumeWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowResumeRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + }, +}; + +apiInstance.workflowServiceResumeWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowResumeRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceRetryWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceRetryWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceRetryWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowRetryRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + parameters: [ + "parameters_example", + ], + restartSuccessful: true, + }, +}; + +apiInstance.workflowServiceRetryWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowRetryRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSetWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSetWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSetWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowSetRequest + body: { + message: "message_example", + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + outputParameters: "outputParameters_example", + phase: "phase_example", + }, +}; + +apiInstance.workflowServiceSetWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSetRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceStopWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceStopWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceStopWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowStopRequest + body: { + message: "message_example", + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + }, +}; + +apiInstance.workflowServiceStopWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowStopRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSubmitWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSubmitWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest + body: { + namespace: "namespace_example", + resourceKind: "resourceKind_example", + resourceName: "resourceName_example", + submitOptions: { + annotations: "annotations_example", + dryRun: true, + entryPoint: "entryPoint_example", + generateName: "generateName_example", + labels: "labels_example", + name: "name_example", + ownerReference: { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + parameters: [ + "parameters_example", + ], + podPriorityClassName: "podPriorityClassName_example", + priority: 1, + serverDryRun: true, + serviceAccount: "serviceAccount_example", + }, + }, +}; + +apiInstance.workflowServiceSubmitWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSuspendWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSuspendWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.workflowServiceSuspendWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceTerminateWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceTerminateWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.workflowServiceTerminateWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWatchEvents** +> StreamResultOfIoK8sApiCoreV1Event workflowServiceWatchEvents() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWatchEventsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.workflowServiceWatchEvents(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoK8sApiCoreV1Event** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWatchWorkflows** +> StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent workflowServiceWatchWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceWatchWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **fields** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWorkflowLogs** +> StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry workflowServiceWorkflowLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWorkflowLogsRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string (optional) + podName: "podName_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + logOptionsContainer: "logOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + logOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + logOptionsPrevious: true, + // string | 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. (optional) + logOptionsSinceSeconds: "logOptions.sinceSeconds_example", + // string | 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. (optional) + logOptionsSinceTimeSeconds: "logOptions.sinceTime.seconds_example", + // number | 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. (optional) + logOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + logOptionsTimestamps: true, + // string | 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. (optional) + logOptionsTailLines: "logOptions.tailLines_example", + // string | 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. (optional) + logOptionsLimitBytes: "logOptions.limitBytes_example", + // boolean | 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. (optional) + logOptionsInsecureSkipTLSVerifyBackend: true, + // string (optional) + grep: "grep_example", + // string (optional) + selector: "selector_example", +}; + +apiInstance.workflowServiceWorkflowLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **podName** | [**string**] | | (optional) defaults to undefined + **logOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **logOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **logOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + **grep** | [**string**] | | (optional) defaults to undefined + **selector** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/WorkflowTemplateServiceApi.md b/plugins/argo-workflows-backend/api/client/WorkflowTemplateServiceApi.md new file mode 100644 index 0000000..a927ff2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/WorkflowTemplateServiceApi.md @@ -0,0 +1,32045 @@ +# .WorkflowTemplateServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**workflowTemplateServiceCreateWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceCreateWorkflowTemplate) | **POST** /api/v1/workflow-templates/{namespace} | +[**workflowTemplateServiceDeleteWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceDeleteWorkflowTemplate) | **DELETE** /api/v1/workflow-templates/{namespace}/{name} | +[**workflowTemplateServiceGetWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceGetWorkflowTemplate) | **GET** /api/v1/workflow-templates/{namespace}/{name} | +[**workflowTemplateServiceLintWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceLintWorkflowTemplate) | **POST** /api/v1/workflow-templates/{namespace}/lint | +[**workflowTemplateServiceListWorkflowTemplates**](WorkflowTemplateServiceApi.md#workflowTemplateServiceListWorkflowTemplates) | **GET** /api/v1/workflow-templates/{namespace} | +[**workflowTemplateServiceUpdateWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceUpdateWorkflowTemplate) | **PUT** /api/v1/workflow-templates/{namespace}/{name} | + + +# **workflowTemplateServiceCreateWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceCreateWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceCreateWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceDeleteWorkflowTemplate** +> any workflowTemplateServiceDeleteWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.workflowTemplateServiceDeleteWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceGetWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceGetWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.workflowTemplateServiceGetWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceLintWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceLintWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceLintWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceListWorkflowTemplates** +> IoArgoprojWorkflowV1alpha1WorkflowTemplateList workflowTemplateServiceListWorkflowTemplates() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.workflowTemplateServiceListWorkflowTemplates(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceUpdateWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceUpdateWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest + body: { + name: "name_example", + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceUpdateWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows-backend/api/client/apis/ArchivedWorkflowServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/ArchivedWorkflowServiceApi.ts new file mode 100644 index 0000000..8440171 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/ArchivedWorkflowServiceApi.ts @@ -0,0 +1,719 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; + +/** + * no description + */ +export class ArchivedWorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param uid + * @param namespace + */ + public async archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceDeleteArchivedWorkflow", "uid"); + } + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param namespace + * @param name + */ + public async archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceGetArchivedWorkflow", "uid"); + } + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + // Path Params + const localVarPath = '/api/v1/archived-workflows-label-keys'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows-label-values'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (namePrefix !== undefined) { + requestContext.setQueryParam("namePrefix", ObjectSerializer.serialize(namePrefix, "string", "")); + } + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param body + */ + public async archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceResubmitArchivedWorkflow", "uid"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceResubmitArchivedWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}/resubmit' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param body + */ + public async archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceRetryArchivedWorkflow", "uid"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceRetryArchivedWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}/retry' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ArchivedWorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceDeleteArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceDeleteArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceGetArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceGetArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflowLabelKeys + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelKeys(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1LabelKeys = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelKeys", "" + ) as IoArgoprojWorkflowV1alpha1LabelKeys; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1LabelKeys = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelKeys", "" + ) as IoArgoprojWorkflowV1alpha1LabelKeys; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflowLabelValues + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelValues(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1LabelValues = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelValues", "" + ) as IoArgoprojWorkflowV1alpha1LabelValues; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1LabelValues = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelValues", "" + ) as IoArgoprojWorkflowV1alpha1LabelValues; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceResubmitArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceResubmitArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceRetryArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceRetryArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/ArtifactServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/ArtifactServiceApi.ts new file mode 100644 index 0000000..2a36f4a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/ArtifactServiceApi.ts @@ -0,0 +1,492 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; + +/** + * no description + */ +export class ArtifactServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * 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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "namespace"); + } + + + // verify required parameter 'idDiscriminator' is not null or undefined + if (idDiscriminator === null || idDiscriminator === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "idDiscriminator"); + } + + + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "id"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "artifactName"); + } + + + // verify required parameter 'artifactDiscriminator' is not null or undefined + if (artifactDiscriminator === null || artifactDiscriminator === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "artifactDiscriminator"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "name"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "artifactName"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "uid"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "artifactName"); + } + + + // Path Params + const localVarPath = '/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "name"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "artifactName"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "uid"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "artifactName"); + } + + + // Path Params + const localVarPath = '/artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ArtifactServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetArtifactFile + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetArtifactFile(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetInputArtifact + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetInputArtifact(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetInputArtifactByUID + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetInputArtifactByUID(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetOutputArtifact + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetOutputArtifact(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetOutputArtifactByUID + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetOutputArtifactByUID(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/ClusterWorkflowTemplateServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/ClusterWorkflowTemplateServiceApi.ts new file mode 100644 index 0000000..b67fdff --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/ClusterWorkflowTemplateServiceApi.ts @@ -0,0 +1,601 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; + +/** + * no description + */ +export class ClusterWorkflowTemplateServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param body + */ + public async clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceGetClusterWorkflowTemplate", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param body + */ + public async clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceLintClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/lint'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ClusterWorkflowTemplateServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceGetClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceLintClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceListClusterWorkflowTemplates + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceListClusterWorkflowTemplates(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/CronWorkflowServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/CronWorkflowServiceApi.ts new file mode 100644 index 0000000..b5269d5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/CronWorkflowServiceApi.ts @@ -0,0 +1,847 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; + +/** + * no description + */ +export class CronWorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceCreateCronWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceCreateCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceDeleteCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceDeleteCronWorkflow", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceGetCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceGetCronWorkflow", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceLintCronWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceLintCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceListCronWorkflows", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class CronWorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceCreateCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceCreateCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceDeleteCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceDeleteCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceGetCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceGetCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceLintCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceLintCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceListCronWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceListCronWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceResumeCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceResumeCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceSuspendCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceSuspendCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceUpdateCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceUpdateCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/EventServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/EventServiceApi.ts new file mode 100644 index 0000000..338b6c1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/EventServiceApi.ts @@ -0,0 +1,256 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; + +/** + * no description + */ +export class EventServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceListWorkflowEventBindings", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-event-bindings/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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: any, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "namespace"); + } + + + // verify required parameter 'discriminator' is not null or undefined + if (discriminator === null || discriminator === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "discriminator"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/events/{namespace}/{discriminator}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'discriminator' + '}', encodeURIComponent(String(discriminator))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class EventServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventServiceListWorkflowEventBindings + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventServiceListWorkflowEventBindings(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventServiceReceiveEvent + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventServiceReceiveEvent(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/EventSourceServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/EventSourceServiceApi.ts new file mode 100644 index 0000000..e6b8183 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/EventSourceServiceApi.ts @@ -0,0 +1,858 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; + +/** + * no description + */ +export class EventSourceServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceCreateEventSource", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceCreateEventSource", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "EventsourceCreateEventSourceRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceDeleteEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceDeleteEventSource", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceEventSourcesLogs", "namespace"); + } + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/event-sources/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + // Query Params + if (eventSourceType !== undefined) { + requestContext.setQueryParam("eventSourceType", ObjectSerializer.serialize(eventSourceType, "string", "")); + } + + // Query Params + if (eventName !== undefined) { + requestContext.setQueryParam("eventName", ObjectSerializer.serialize(eventName, "string", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (podLogOptionsContainer !== undefined) { + requestContext.setQueryParam("podLogOptions.container", ObjectSerializer.serialize(podLogOptionsContainer, "string", "")); + } + + // Query Params + if (podLogOptionsFollow !== undefined) { + requestContext.setQueryParam("podLogOptions.follow", ObjectSerializer.serialize(podLogOptionsFollow, "boolean", "")); + } + + // Query Params + if (podLogOptionsPrevious !== undefined) { + requestContext.setQueryParam("podLogOptions.previous", ObjectSerializer.serialize(podLogOptionsPrevious, "boolean", "")); + } + + // Query Params + if (podLogOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceSeconds", ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.seconds", ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.nanos", ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (podLogOptionsTimestamps !== undefined) { + requestContext.setQueryParam("podLogOptions.timestamps", ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (podLogOptionsTailLines !== undefined) { + requestContext.setQueryParam("podLogOptions.tailLines", ObjectSerializer.serialize(podLogOptionsTailLines, "string", "int64")); + } + + // Query Params + if (podLogOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("podLogOptions.limitBytes", ObjectSerializer.serialize(podLogOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("podLogOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + */ + public async eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceGetEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceGetEventSource", "name"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceListEventSources", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "EventsourceUpdateEventSourceRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceWatchEventSources", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class EventSourceServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceCreateEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceCreateEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceDeleteEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceDeleteEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceEventSourcesLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceEventSourcesLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfEventsourceLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceLogEntry", "" + ) as StreamResultOfEventsourceLogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfEventsourceLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceLogEntry", "" + ) as StreamResultOfEventsourceLogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceGetEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceGetEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceListEventSources + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceListEventSources(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSourceList", "" + ) as IoArgoprojEventsV1alpha1EventSourceList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSourceList", "" + ) as IoArgoprojEventsV1alpha1EventSourceList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceUpdateEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceUpdateEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceWatchEventSources + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceWatchEventSources(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfEventsourceEventSourceWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceEventSourceWatchEvent", "" + ) as StreamResultOfEventsourceEventSourceWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfEventsourceEventSourceWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceEventSourceWatchEvent", "" + ) as StreamResultOfEventsourceEventSourceWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/InfoServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/InfoServiceApi.ts new file mode 100644 index 0000000..f9db252 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/InfoServiceApi.ts @@ -0,0 +1,300 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; + +/** + * no description + */ +export class InfoServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param body + */ + public async infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("InfoServiceApi", "infoServiceCollectEvent", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/tracking/event'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CollectEventRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetInfo(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/info'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetUserInfo(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/userinfo'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetVersion(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/version'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class InfoServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceCollectEvent + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceCollectEvent(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetInfo + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetInfo(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1InfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1InfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1InfoResponse; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1InfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1InfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1InfoResponse; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetUserInfo + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetUserInfo(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1GetUserInfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1GetUserInfoResponse; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1GetUserInfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1GetUserInfoResponse; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetVersion + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetVersion(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Version = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Version", "" + ) as IoArgoprojWorkflowV1alpha1Version; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Version = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Version", "" + ) as IoArgoprojWorkflowV1alpha1Version; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/SensorServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/SensorServiceApi.ts new file mode 100644 index 0000000..aeb92e4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/SensorServiceApi.ts @@ -0,0 +1,858 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +/** + * no description + */ +export class SensorServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceCreateSensor", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceCreateSensor", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "SensorCreateSensorRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceDeleteSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceDeleteSensor", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceGetSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceGetSensor", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceListSensors", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceSensorsLogs", "namespace"); + } + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/sensors/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + // Query Params + if (triggerName !== undefined) { + requestContext.setQueryParam("triggerName", ObjectSerializer.serialize(triggerName, "string", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (podLogOptionsContainer !== undefined) { + requestContext.setQueryParam("podLogOptions.container", ObjectSerializer.serialize(podLogOptionsContainer, "string", "")); + } + + // Query Params + if (podLogOptionsFollow !== undefined) { + requestContext.setQueryParam("podLogOptions.follow", ObjectSerializer.serialize(podLogOptionsFollow, "boolean", "")); + } + + // Query Params + if (podLogOptionsPrevious !== undefined) { + requestContext.setQueryParam("podLogOptions.previous", ObjectSerializer.serialize(podLogOptionsPrevious, "boolean", "")); + } + + // Query Params + if (podLogOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceSeconds", ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.seconds", ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.nanos", ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (podLogOptionsTimestamps !== undefined) { + requestContext.setQueryParam("podLogOptions.timestamps", ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (podLogOptionsTailLines !== undefined) { + requestContext.setQueryParam("podLogOptions.tailLines", ObjectSerializer.serialize(podLogOptionsTailLines, "string", "int64")); + } + + // Query Params + if (podLogOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("podLogOptions.limitBytes", ObjectSerializer.serialize(podLogOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("podLogOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "SensorUpdateSensorRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceWatchSensors", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class SensorServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceCreateSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceCreateSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceDeleteSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceDeleteSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceGetSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceGetSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceListSensors + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceListSensors(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1SensorList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1SensorList", "" + ) as IoArgoprojEventsV1alpha1SensorList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1SensorList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1SensorList", "" + ) as IoArgoprojEventsV1alpha1SensorList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceSensorsLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceSensorsLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfSensorLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorLogEntry", "" + ) as StreamResultOfSensorLogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfSensorLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorLogEntry", "" + ) as StreamResultOfSensorLogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceUpdateSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceUpdateSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceWatchSensors + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceWatchSensors(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfSensorSensorWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorSensorWatchEvent", "" + ) as StreamResultOfSensorSensorWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfSensorSensorWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorSensorWatchEvent", "" + ) as StreamResultOfSensorSensorWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/WorkflowServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/WorkflowServiceApi.ts new file mode 100644 index 0000000..56e34f3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/WorkflowServiceApi.ts @@ -0,0 +1,1979 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; + +/** + * no description + */ +export class WorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceCreateWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceCreateWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceDeleteWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceDeleteWorkflow", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceGetWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceGetWorkflow", "name"); + } + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceLintWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceLintWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceListWorkflows", "namespace"); + } + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * 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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "name"); + } + + + // verify required parameter 'podName' is not null or undefined + if (podName === null || podName === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "podName"); + } + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/{podName}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'podName' + '}', encodeURIComponent(String(podName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (logOptionsContainer !== undefined) { + requestContext.setQueryParam("logOptions.container", ObjectSerializer.serialize(logOptionsContainer, "string", "")); + } + + // Query Params + if (logOptionsFollow !== undefined) { + requestContext.setQueryParam("logOptions.follow", ObjectSerializer.serialize(logOptionsFollow, "boolean", "")); + } + + // Query Params + if (logOptionsPrevious !== undefined) { + requestContext.setQueryParam("logOptions.previous", ObjectSerializer.serialize(logOptionsPrevious, "boolean", "")); + } + + // Query Params + if (logOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceSeconds", ObjectSerializer.serialize(logOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.seconds", ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.nanos", ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (logOptionsTimestamps !== undefined) { + requestContext.setQueryParam("logOptions.timestamps", ObjectSerializer.serialize(logOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (logOptionsTailLines !== undefined) { + requestContext.setQueryParam("logOptions.tailLines", ObjectSerializer.serialize(logOptionsTailLines, "string", "int64")); + } + + // Query Params + if (logOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("logOptions.limitBytes", ObjectSerializer.serialize(logOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("logOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (selector !== undefined) { + requestContext.setQueryParam("selector", ObjectSerializer.serialize(selector, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/resubmit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResumeRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/retry' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowRetryRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/set' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSetRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/stop' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowStopRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSubmitWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSubmitWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/submit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/terminate' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWatchEvents", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWatchWorkflows", "namespace"); + } + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWorkflowLogs", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWorkflowLogs", "name"); + } + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (podName !== undefined) { + requestContext.setQueryParam("podName", ObjectSerializer.serialize(podName, "string", "")); + } + + // Query Params + if (logOptionsContainer !== undefined) { + requestContext.setQueryParam("logOptions.container", ObjectSerializer.serialize(logOptionsContainer, "string", "")); + } + + // Query Params + if (logOptionsFollow !== undefined) { + requestContext.setQueryParam("logOptions.follow", ObjectSerializer.serialize(logOptionsFollow, "boolean", "")); + } + + // Query Params + if (logOptionsPrevious !== undefined) { + requestContext.setQueryParam("logOptions.previous", ObjectSerializer.serialize(logOptionsPrevious, "boolean", "")); + } + + // Query Params + if (logOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceSeconds", ObjectSerializer.serialize(logOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.seconds", ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.nanos", ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (logOptionsTimestamps !== undefined) { + requestContext.setQueryParam("logOptions.timestamps", ObjectSerializer.serialize(logOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (logOptionsTailLines !== undefined) { + requestContext.setQueryParam("logOptions.tailLines", ObjectSerializer.serialize(logOptionsTailLines, "string", "int64")); + } + + // Query Params + if (logOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("logOptions.limitBytes", ObjectSerializer.serialize(logOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("logOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (selector !== undefined) { + requestContext.setQueryParam("selector", ObjectSerializer.serialize(selector, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class WorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceCreateWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceCreateWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceDeleteWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceDeleteWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceGetWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceGetWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceLintWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceLintWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceListWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceListWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServicePodLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServicePodLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceResubmitWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceResubmitWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceResumeWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceResumeWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceRetryWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceRetryWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSetWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSetWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceStopWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceStopWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSubmitWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSubmitWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSuspendWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSuspendWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceTerminateWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceTerminateWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWatchEvents + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWatchEvents(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoK8sApiCoreV1Event = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoK8sApiCoreV1Event", "" + ) as StreamResultOfIoK8sApiCoreV1Event; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoK8sApiCoreV1Event = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoK8sApiCoreV1Event", "" + ) as StreamResultOfIoK8sApiCoreV1Event; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWatchWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWatchWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWorkflowLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWorkflowLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/WorkflowTemplateServiceApi.ts b/plugins/argo-workflows-backend/api/client/apis/WorkflowTemplateServiceApi.ts new file mode 100644 index 0000000..da16c53 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/WorkflowTemplateServiceApi.ts @@ -0,0 +1,649 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; + +/** + * no description + */ +export class WorkflowTemplateServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceCreateWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceCreateWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceDeleteWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceDeleteWorkflowTemplate", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceGetWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceGetWorkflowTemplate", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceLintWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceLintWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceListWorkflowTemplates", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class WorkflowTemplateServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceCreateWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceCreateWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceDeleteWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceDeleteWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceGetWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceGetWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceLintWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceLintWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceListWorkflowTemplates + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceListWorkflowTemplates(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplateList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplateList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceUpdateWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceUpdateWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/apis/baseapi.ts b/plugins/argo-workflows-backend/api/client/apis/baseapi.ts new file mode 100644 index 0000000..ce1e2db --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/baseapi.ts @@ -0,0 +1,37 @@ +import { Configuration } from '../configuration' + +/** + * + * @export + */ +export const COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; + + +/** + * + * @export + * @class BaseAPI + */ +export class BaseAPIRequestFactory { + + constructor(protected configuration: Configuration) { + } +}; + +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +export class RequiredError extends Error { + name: "RequiredError" = "RequiredError"; + constructor(public api: string, public method: string, public field: string) { + super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); + } +} diff --git a/plugins/argo-workflows-backend/api/client/apis/exception.ts b/plugins/argo-workflows-backend/api/client/apis/exception.ts new file mode 100644 index 0000000..9365d33 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/apis/exception.ts @@ -0,0 +1,15 @@ +/** + * Represents an error caused by an api call i.e. it has attributes for a HTTP status code + * and the returned body object. + * + * Example + * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] + * => ApiException(404, someErrorMessageObject) + * + */ +export class ApiException extends Error { + public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { + super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + + JSON.stringify(headers)) + } +} diff --git a/plugins/argo-workflows-backend/api/client/auth/auth.ts b/plugins/argo-workflows-backend/api/client/auth/auth.ts new file mode 100644 index 0000000..872e684 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/auth/auth.ts @@ -0,0 +1,79 @@ +import { RequestContext } from "../http/http"; + +/** + * Interface authentication schemes. + */ +export interface SecurityAuthentication { + /* + * @return returns the name of the security authentication as specified in OAI + */ + getName(): string; + + /** + * Applies the authentication scheme to the request context + * + * @params context the request context which should use this authentication scheme + */ + applySecurityAuthentication(context: RequestContext): void | Promise; +} + +export interface TokenProvider { + getToken(): Promise | string; +} + +/** + * Applies apiKey authentication to the request context. + */ +export class BearerTokenAuthentication implements SecurityAuthentication { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + public constructor(private apiKey: string) {} + + public getName(): string { + return "BearerToken"; + } + + public applySecurityAuthentication(context: RequestContext) { + context.setHeaderParam("Authorization", this.apiKey); + } +} + + +export type AuthMethods = { + "default"?: SecurityAuthentication, + "BearerToken"?: SecurityAuthentication +} + +export type ApiKeyConfiguration = string; +export type HttpBasicConfiguration = { "username": string, "password": string }; +export type HttpBearerConfiguration = { tokenProvider: TokenProvider }; +export type OAuth2Configuration = { accessToken: string }; + +export type AuthMethodsConfiguration = { + "default"?: SecurityAuthentication, + "BearerToken"?: ApiKeyConfiguration +} + +/** + * Creates the authentication methods from a swagger description. + * + */ +export function configureAuthMethods(config: AuthMethodsConfiguration | undefined): AuthMethods { + let authMethods: AuthMethods = {} + + if (!config) { + return authMethods; + } + authMethods["default"] = config["default"] + + if (config["BearerToken"]) { + authMethods["BearerToken"] = new BearerTokenAuthentication( + config["BearerToken"] + ); + } + + return authMethods; +} \ No newline at end of file diff --git a/plugins/argo-workflows-backend/api/client/configuration.ts b/plugins/argo-workflows-backend/api/client/configuration.ts new file mode 100644 index 0000000..7acb56e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/configuration.ts @@ -0,0 +1,82 @@ +import { HttpLibrary } from "./http/http"; +import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware"; +import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch"; +import { BaseServerConfiguration, server1 } from "./servers"; +import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth"; + +export interface Configuration { + readonly baseServer: BaseServerConfiguration; + readonly httpApi: HttpLibrary; + readonly middleware: Middleware[]; + readonly authMethods: AuthMethods; +} + + +/** + * Interface with which a configuration object can be configured. + */ +export interface ConfigurationParameters { + /** + * Default server to use - a list of available servers (according to the + * OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also + * create your own server with the `ServerConfiguration` class from the same + * file. + */ + baseServer?: BaseServerConfiguration; + /** + * HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as + * all generators come with a default library. + * If available, additional libraries can be imported from `./http/*` + */ + httpApi?: HttpLibrary; + + /** + * The middlewares which will be applied to requests and responses. You can + * add any number of middleware components to modify requests before they + * are sent or before they are deserialized by implementing the `Middleware` + * interface defined in `./middleware` + */ + middleware?: Middleware[]; + /** + * Configures middleware functions that return promises instead of + * Observables (which are used by `middleware`). Otherwise allows for the + * same functionality as `middleware`, i.e., modifying requests before they + * are sent and before they are deserialized. + */ + promiseMiddleware?: PromiseMiddleware[]; + /** + * Configuration for the available authentication methods (e.g., api keys) + * according to the OpenAPI yaml definition. For the definition, please refer to + * `./auth/auth` + */ + authMethods?: AuthMethodsConfiguration +} + +/** + * Provide your `ConfigurationParameters` to this function to get a `Configuration` + * object that can be used to configure your APIs (in the constructor or + * for each request individually). + * + * If a property is not included in conf, a default is used: + * - baseServer: server1 + * - httpApi: IsomorphicFetchHttpLibrary + * - middleware: [] + * - promiseMiddleware: [] + * - authMethods: {} + * + * @param conf partial configuration + */ +export function createConfiguration(conf: ConfigurationParameters = {}): Configuration { + const configuration: Configuration = { + baseServer: conf.baseServer !== undefined ? conf.baseServer : server1, + httpApi: conf.httpApi || new DefaultHttpLibrary(), + middleware: conf.middleware || [], + authMethods: configureAuthMethods(conf.authMethods) + }; + if (conf.promiseMiddleware) { + conf.promiseMiddleware.forEach( + m => configuration.middleware.push(new PromiseMiddlewareWrapper(m)) + ); + } + return configuration; +} \ No newline at end of file diff --git a/plugins/argo-workflows-backend/api/client/git_push.sh b/plugins/argo-workflows-backend/api/client/git_push.sh new file mode 100644 index 0000000..b253029 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/git_push.sh @@ -0,0 +1,51 @@ +#!/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" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +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://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@github.com/${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://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/plugins/argo-workflows-backend/api/client/http/http.ts b/plugins/argo-workflows-backend/api/client/http/http.ts new file mode 100644 index 0000000..5ec4785 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/http/http.ts @@ -0,0 +1,232 @@ +import { Observable, from } from '../rxjsStub'; + +export * from './isomorphic-fetch'; + +/** + * Represents an HTTP method. + */ +export enum HttpMethod { + GET = "GET", + HEAD = "HEAD", + POST = "POST", + PUT = "PUT", + DELETE = "DELETE", + CONNECT = "CONNECT", + OPTIONS = "OPTIONS", + TRACE = "TRACE", + PATCH = "PATCH" +} + +/** + * Represents an HTTP file which will be transferred from or to a server. + */ +export type HttpFile = Blob & { readonly name: string }; + +export class HttpException extends Error { + public constructor(msg: string) { + super(msg); + } +} + +/** + * Represents the body of an outgoing HTTP request. + */ +export type RequestBody = undefined | string | FormData | URLSearchParams; + +/** + * Represents an HTTP request context + */ +export class RequestContext { + private headers: { [key: string]: string } = {}; + private body: RequestBody = undefined; + private url: URL; + + /** + * Creates the request context using a http method and request resource url + * + * @param url url of the requested resource + * @param httpMethod http method + */ + public constructor(url: string, private httpMethod: HttpMethod) { + this.url = new URL(url); + } + + /* + * Returns the url set in the constructor including the query string + * + */ + public getUrl(): string { + return this.url.toString().endsWith("/") ? + this.url.toString().slice(0, -1) + : this.url.toString(); + } + + /** + * Replaces the url set in the constructor with this url. + * + */ + public setUrl(url: string) { + this.url = new URL(url); + } + + /** + * Sets the body of the http request either as a string or FormData + * + * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE + * request is discouraged. + * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1 + * + * @param body the body of the request + */ + public setBody(body: RequestBody) { + this.body = body; + } + + public getHttpMethod(): HttpMethod { + return this.httpMethod; + } + + public getHeaders(): { [key: string]: string } { + return this.headers; + } + + public getBody(): RequestBody { + return this.body; + } + + public setQueryParam(name: string, value: string) { + this.url.searchParams.set(name, value); + } + + /** + * Sets a cookie with the name and value. NO check for duplicate cookies is performed + * + */ + public addCookie(name: string, value: string): void { + if (!this.headers["Cookie"]) { + this.headers["Cookie"] = ""; + } + this.headers["Cookie"] += name + "=" + value + "; "; + } + + public setHeaderParam(key: string, value: string): void { + this.headers[key] = value; + } +} + +export interface ResponseBody { + text(): Promise; + binary(): Promise; +} + +/** + * Helper class to generate a `ResponseBody` from binary data + */ +export class SelfDecodingBody implements ResponseBody { + constructor(private dataSource: Promise) {} + + binary(): Promise { + return this.dataSource; + } + + async text(): Promise { + const data: Blob = await this.dataSource; + // @ts-ignore + if (data.text) { + // @ts-ignore + return data.text(); + } + + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.addEventListener("load", () => resolve(reader.result as string)); + reader.addEventListener("error", () => reject(reader.error)); + reader.readAsText(data); + }); + } +} + +export class ResponseContext { + public constructor( + public httpStatusCode: number, + public headers: { [key: string]: string }, + public body: ResponseBody + ) {} + + /** + * Parse header value in the form `value; param1="value1"` + * + * E.g. for Content-Type or Content-Disposition + * Parameter names are converted to lower case + * The first parameter is returned with the key `""` + */ + public getParsedHeader(headerName: string): { [parameter: string]: string } { + const result: { [parameter: string]: string } = {}; + if (!this.headers[headerName]) { + return result; + } + + const parameters = this.headers[headerName].split(";"); + for (const parameter of parameters) { + let [key, value] = parameter.split("=", 2); + key = key.toLowerCase().trim(); + if (value === undefined) { + result[""] = key; + } else { + value = value.trim(); + if (value.startsWith('"') && value.endsWith('"')) { + value = value.substring(1, value.length - 1); + } + result[key] = value; + } + } + return result; + } + + public async getBodyAsFile(): Promise { + const data = await this.body.binary(); + const fileName = this.getParsedHeader("content-disposition")["filename"] || ""; + const contentType = this.headers["content-type"] || ""; + try { + return new File([data], fileName, { type: contentType }); + } catch (error) { + /** Fallback for when the File constructor is not available */ + return Object.assign(data, { + name: fileName, + type: contentType + }); + } + } + + /** + * Use a heuristic to get a body of unknown data structure. + * Return as string if possible, otherwise as binary. + */ + public getBodyAsAny(): Promise { + try { + return this.body.text(); + } catch {} + + try { + return this.body.binary(); + } catch {} + + return Promise.resolve(undefined); + } +} + +export interface HttpLibrary { + send(request: RequestContext): Observable; +} + +export interface PromiseHttpLibrary { + send(request: RequestContext): Promise; +} + +export function wrapHttpLibrary(promiseHttpLibrary: PromiseHttpLibrary): HttpLibrary { + return { + send(request: RequestContext): Observable { + return from(promiseHttpLibrary.send(request)); + } + } +} diff --git a/plugins/argo-workflows-backend/api/client/http/isomorphic-fetch.ts b/plugins/argo-workflows-backend/api/client/http/isomorphic-fetch.ts new file mode 100644 index 0000000..3af85f3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/http/isomorphic-fetch.ts @@ -0,0 +1,32 @@ +import {HttpLibrary, RequestContext, ResponseContext} from './http'; +import { from, Observable } from '../rxjsStub'; +import "whatwg-fetch"; + +export class IsomorphicFetchHttpLibrary implements HttpLibrary { + + public send(request: RequestContext): Observable { + let method = request.getHttpMethod().toString(); + let body = request.getBody(); + + const resultPromise = fetch(request.getUrl(), { + method: method, + body: body as any, + headers: request.getHeaders(), + credentials: "same-origin" + }).then((resp: any) => { + const headers: { [name: string]: string } = {}; + resp.headers.forEach((value: string, name: string) => { + headers[name] = value; + }); + + const body = { + text: () => resp.text(), + binary: () => resp.blob() + }; + return new ResponseContext(resp.status, headers, body); + }); + + return from>(resultPromise); + + } +} diff --git a/plugins/argo-workflows-backend/api/client/index.ts b/plugins/argo-workflows-backend/api/client/index.ts new file mode 100644 index 0000000..f5c2ab1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/index.ts @@ -0,0 +1,12 @@ +export * from "./http/http"; +export * from "./auth/auth"; +export * from "./models/all"; +export { createConfiguration } from "./configuration" +export { Configuration } from "./configuration" +export * from "./apis/exception"; +export * from "./servers"; +export { RequiredError } from "./apis/baseapi"; + +export { PromiseMiddleware as Middleware } from './middleware'; +export { PromiseArchivedWorkflowServiceApi as ArchivedWorkflowServiceApi, PromiseArtifactServiceApi as ArtifactServiceApi, PromiseClusterWorkflowTemplateServiceApi as ClusterWorkflowTemplateServiceApi, PromiseCronWorkflowServiceApi as CronWorkflowServiceApi, PromiseEventServiceApi as EventServiceApi, PromiseEventSourceServiceApi as EventSourceServiceApi, PromiseInfoServiceApi as InfoServiceApi, PromiseSensorServiceApi as SensorServiceApi, PromiseWorkflowServiceApi as WorkflowServiceApi, PromiseWorkflowTemplateServiceApi as WorkflowTemplateServiceApi } from './types/PromiseAPI'; + diff --git a/plugins/argo-workflows-backend/api/client/middleware.ts b/plugins/argo-workflows-backend/api/client/middleware.ts new file mode 100644 index 0000000..524f93f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/middleware.ts @@ -0,0 +1,66 @@ +import {RequestContext, ResponseContext} from './http/http'; +import { Observable, from } from './rxjsStub'; + +/** + * Defines the contract for a middleware intercepting requests before + * they are sent (but after the RequestContext was created) + * and before the ResponseContext is unwrapped. + * + */ +export interface Middleware { + /** + * Modifies the request before the request is sent. + * + * @param context RequestContext of a request which is about to be sent to the server + * @returns an observable of the updated request context + * + */ + pre(context: RequestContext): Observable; + /** + * Modifies the returned response before it is deserialized. + * + * @param context ResponseContext of a sent request + * @returns an observable of the modified response context + */ + post(context: ResponseContext): Observable; +} + +export class PromiseMiddlewareWrapper implements Middleware { + + public constructor(private middleware: PromiseMiddleware) { + + } + + pre(context: RequestContext): Observable { + return from(this.middleware.pre(context)); + } + + post(context: ResponseContext): Observable { + return from(this.middleware.post(context)); + } + +} + +/** + * Defines the contract for a middleware intercepting requests before + * they are sent (but after the RequestContext was created) + * and before the ResponseContext is unwrapped. + * + */ +export interface PromiseMiddleware { + /** + * Modifies the request before the request is sent. + * + * @param context RequestContext of a request which is about to be sent to the server + * @returns an observable of the updated request context + * + */ + pre(context: RequestContext): Promise; + /** + * Modifies the returned response before it is deserialized. + * + * @param context ResponseContext of a sent request + * @returns an observable of the modified response context + */ + post(context: ResponseContext): Promise; +} diff --git a/plugins/argo-workflows-backend/api/client/models/EventsourceCreateEventSourceRequest.ts b/plugins/argo-workflows-backend/api/client/models/EventsourceCreateEventSourceRequest.ts new file mode 100644 index 0000000..221120c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/EventsourceCreateEventSourceRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceCreateEventSourceRequest { + 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventSource", + "baseName": "eventSource", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return EventsourceCreateEventSourceRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/EventsourceEventSourceWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/EventsourceEventSourceWatchEvent.ts new file mode 100644 index 0000000..e19e495 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/EventsourceEventSourceWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceEventSourceWatchEvent { + 'object'?: IoArgoprojEventsV1alpha1EventSource; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return EventsourceEventSourceWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/EventsourceLogEntry.ts b/plugins/argo-workflows-backend/api/client/models/EventsourceLogEntry.ts new file mode 100644 index 0000000..1d372a8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/EventsourceLogEntry.ts @@ -0,0 +1,80 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class EventsourceLogEntry { + 'eventName'?: string; + 'eventSourceName'?: string; + 'eventSourceType'?: string; + 'level'?: string; + 'msg'?: string; + 'namespace'?: string; + /** + * 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. + */ + 'time'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventName", + "baseName": "eventName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceName", + "baseName": "eventSourceName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceType", + "baseName": "eventSourceType", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "msg", + "baseName": "msg", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + } ]; + + static getAttributeTypeMap() { + return EventsourceLogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/EventsourceUpdateEventSourceRequest.ts b/plugins/argo-workflows-backend/api/client/models/EventsourceUpdateEventSourceRequest.ts new file mode 100644 index 0000000..b23fd31 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/EventsourceUpdateEventSourceRequest.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceUpdateEventSourceRequest { + 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventSource", + "baseName": "eventSource", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return EventsourceUpdateEventSourceRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/GoogleProtobufAny.ts b/plugins/argo-workflows-backend/api/client/models/GoogleProtobufAny.ts new file mode 100644 index 0000000..d083809 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/GoogleProtobufAny.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class GoogleProtobufAny { + 'typeUrl'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "typeUrl", + "baseName": "type_url", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + static getAttributeTypeMap() { + return GoogleProtobufAny.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeError.ts b/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeError.ts new file mode 100644 index 0000000..ddb189a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeError.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { HttpFile } from '../http/http'; + +export class GrpcGatewayRuntimeError { + 'code'?: number; + 'details'?: Array; + 'error'?: string; + 'message'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "code", + "baseName": "code", + "type": "number", + "format": "" + }, + { + "name": "details", + "baseName": "details", + "type": "Array", + "format": "" + }, + { + "name": "error", + "baseName": "error", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return GrpcGatewayRuntimeError.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeStreamError.ts b/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeStreamError.ts new file mode 100644 index 0000000..a97e332 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/GrpcGatewayRuntimeStreamError.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { HttpFile } from '../http/http'; + +export class GrpcGatewayRuntimeStreamError { + 'details'?: Array; + 'grpcCode'?: number; + 'httpCode'?: number; + 'httpStatus'?: string; + 'message'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "details", + "baseName": "details", + "type": "Array", + "format": "" + }, + { + "name": "grpcCode", + "baseName": "grpc_code", + "type": "number", + "format": "" + }, + { + "name": "httpCode", + "baseName": "http_code", + "type": "number", + "format": "" + }, + { + "name": "httpStatus", + "baseName": "http_status", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return GrpcGatewayRuntimeStreamError.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts new file mode 100644 index 0000000..e88f9d7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPConsumeConfig { + 'autoAck'?: boolean; + 'consumerTag'?: string; + 'exclusive'?: boolean; + 'noLocal'?: boolean; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "autoAck", + "baseName": "autoAck", + "type": "boolean", + "format": "" + }, + { + "name": "consumerTag", + "baseName": "consumerTag", + "type": "string", + "format": "" + }, + { + "name": "exclusive", + "baseName": "exclusive", + "type": "boolean", + "format": "" + }, + { + "name": "noLocal", + "baseName": "noLocal", + "type": "boolean", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AMQPConsumeConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts new file mode 100644 index 0000000..c2613ed --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1AMQPEventSource { + 'auth'?: IoArgoprojEventsV1alpha1BasicAuth; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'consume'?: IoArgoprojEventsV1alpha1AMQPConsumeConfig; + 'exchangeDeclare'?: IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig; + 'exchangeName'?: string; + 'exchangeType'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'queueBind'?: IoArgoprojEventsV1alpha1AMQPQueueBindConfig; + 'queueDeclare'?: IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig; + 'routingKey'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'url'?: string; + 'urlSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "consume", + "baseName": "consume", + "type": "IoArgoprojEventsV1alpha1AMQPConsumeConfig", + "format": "" + }, + { + "name": "exchangeDeclare", + "baseName": "exchangeDeclare", + "type": "IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig", + "format": "" + }, + { + "name": "exchangeName", + "baseName": "exchangeName", + "type": "string", + "format": "" + }, + { + "name": "exchangeType", + "baseName": "exchangeType", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "queueBind", + "baseName": "queueBind", + "type": "IoArgoprojEventsV1alpha1AMQPQueueBindConfig", + "format": "" + }, + { + "name": "queueDeclare", + "baseName": "queueDeclare", + "type": "IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig", + "format": "" + }, + { + "name": "routingKey", + "baseName": "routingKey", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "urlSecret", + "baseName": "urlSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AMQPEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts new file mode 100644 index 0000000..eb145cd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig { + 'autoDelete'?: boolean; + 'durable'?: boolean; + 'internal'?: boolean; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "autoDelete", + "baseName": "autoDelete", + "type": "boolean", + "format": "" + }, + { + "name": "durable", + "baseName": "durable", + "type": "boolean", + "format": "" + }, + { + "name": "internal", + "baseName": "internal", + "type": "boolean", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts new file mode 100644 index 0000000..dcca6fe --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPQueueBindConfig { + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AMQPQueueBindConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts new file mode 100644 index 0000000..6455681 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig { + 'arguments'?: string; + 'autoDelete'?: boolean; + 'durable'?: boolean; + 'exclusive'?: boolean; + 'name'?: string; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "string", + "format": "" + }, + { + "name": "autoDelete", + "baseName": "autoDelete", + "type": "boolean", + "format": "" + }, + { + "name": "durable", + "baseName": "durable", + "type": "boolean", + "format": "" + }, + { + "name": "exclusive", + "baseName": "exclusive", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts new file mode 100644 index 0000000..b2c8dab --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AWSLambdaTrigger { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + /** + * FunctionName refers to the name of the function to invoke. + */ + 'functionName'?: string; + /** + * Choose from the following options. * RequestResponse (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. * Event - Invoke the function asynchronously. Send events that fail multiple times to the function\'s dead-letter queue (if it\'s configured). The API response only includes a status code. * DryRun - Validate parameter values and verify that the user or role has permission to invoke the function. +optional + */ + 'invocationType'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "functionName", + "baseName": "functionName", + "type": "string", + "format": "" + }, + { + "name": "invocationType", + "baseName": "invocationType", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AWSLambdaTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Amount.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Amount.ts new file mode 100644 index 0000000..ffda3a2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Amount.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Amount represent a numeric amount. +*/ +export class IoArgoprojEventsV1alpha1Amount { + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Amount.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts new file mode 100644 index 0000000..ba6f337 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ArgoWorkflowTrigger { + 'args'?: Array; + 'operation'?: string; + 'parameters'?: Array; + 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojEventsV1alpha1ArtifactLocation", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts new file mode 100644 index 0000000..38232d1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts @@ -0,0 +1,83 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1ArtifactLocation { + 'configmap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'file'?: IoArgoprojEventsV1alpha1FileArtifact; + 'git'?: IoArgoprojEventsV1alpha1GitArtifact; + 'inline'?: string; + 'resource'?: IoArgoprojEventsV1alpha1Resource; + 's3'?: IoArgoprojEventsV1alpha1S3Artifact; + 'url'?: IoArgoprojEventsV1alpha1URLArtifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configmap", + "baseName": "configmap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "file", + "baseName": "file", + "type": "IoArgoprojEventsV1alpha1FileArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojEventsV1alpha1GitArtifact", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "IoArgoprojEventsV1alpha1Resource", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojEventsV1alpha1S3Artifact", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "IoArgoprojEventsV1alpha1URLArtifact", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ArtifactLocation.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts new file mode 100644 index 0000000..f0307fa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AzureEventHubsTrigger { + 'fqdn'?: string; + 'hubName'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fqdn", + "baseName": "fqdn", + "type": "string", + "format": "" + }, + { + "name": "hubName", + "baseName": "hubName", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "sharedAccessKey", + "baseName": "sharedAccessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sharedAccessKeyName", + "baseName": "sharedAccessKeyName", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AzureEventHubsTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts new file mode 100644 index 0000000..a27e330 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AzureEventsHubEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'fqdn'?: string; + 'hubName'?: string; + 'metadata'?: { [key: string]: string; }; + 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "fqdn", + "baseName": "fqdn", + "type": "string", + "format": "" + }, + { + "name": "hubName", + "baseName": "hubName", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "sharedAccessKey", + "baseName": "sharedAccessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sharedAccessKeyName", + "baseName": "sharedAccessKeyName", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1AzureEventsHubEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Backoff.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Backoff.ts new file mode 100644 index 0000000..8ed334c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Backoff.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Backoff { + 'duration'?: IoArgoprojEventsV1alpha1Int64OrString; + 'factor'?: IoArgoprojEventsV1alpha1Amount; + 'jitter'?: IoArgoprojEventsV1alpha1Amount; + 'steps'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "IoArgoprojEventsV1alpha1Int64OrString", + "format": "" + }, + { + "name": "factor", + "baseName": "factor", + "type": "IoArgoprojEventsV1alpha1Amount", + "format": "" + }, + { + "name": "jitter", + "baseName": "jitter", + "type": "IoArgoprojEventsV1alpha1Amount", + "format": "" + }, + { + "name": "steps", + "baseName": "steps", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Backoff.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BasicAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BasicAuth.ts new file mode 100644 index 0000000..9cde938 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BasicAuth.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BasicAuth { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BasicAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts new file mode 100644 index 0000000..0f9c11e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketAuth { + 'basic'?: IoArgoprojEventsV1alpha1BitbucketBasicAuth; + 'oauthToken'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "IoArgoprojEventsV1alpha1BitbucketBasicAuth", + "format": "" + }, + { + "name": "oauthToken", + "baseName": "oauthToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts new file mode 100644 index 0000000..ec1fd72 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketBasicAuth { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketBasicAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts new file mode 100644 index 0000000..8d15f11 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts @@ -0,0 +1,105 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1BitbucketEventSource { + 'auth'?: IoArgoprojEventsV1alpha1BitbucketAuth; + 'deleteHookOnFinish'?: boolean; + /** + * Events this webhook is subscribed to. + */ + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'owner'?: string; + 'projectKey'?: string; + 'repositories'?: Array; + 'repositorySlug'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1BitbucketAuth", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts new file mode 100644 index 0000000..c2a7e72 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketRepository { + 'owner'?: string; + 'repositorySlug'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts new file mode 100644 index 0000000..7303a02 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1BitbucketServerEventSource { + 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; + 'bitbucketserverBaseURL'?: string; + 'deleteHookOnFinish'?: boolean; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'projectKey'?: string; + 'repositories'?: Array; + 'repositorySlug'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessToken", + "baseName": "accessToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bitbucketserverBaseURL", + "baseName": "bitbucketserverBaseURL", + "type": "string", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + }, + { + "name": "webhookSecret", + "baseName": "webhookSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketServerEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts new file mode 100644 index 0000000..9e0ad23 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketServerRepository { + 'projectKey'?: string; + 'repositorySlug'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1BitbucketServerRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts new file mode 100644 index 0000000..f9ffc60 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1CalendarEventSource { + /** + * ExclusionDates defines the list of DATE-TIME exceptions for recurring events. + */ + 'exclusionDates'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'interval'?: string; + 'metadata'?: { [key: string]: string; }; + 'persistence'?: IoArgoprojEventsV1alpha1EventPersistence; + 'schedule'?: string; + 'timezone'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exclusionDates", + "baseName": "exclusionDates", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "interval", + "baseName": "interval", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "persistence", + "baseName": "persistence", + "type": "IoArgoprojEventsV1alpha1EventPersistence", + "format": "" + }, + { + "name": "schedule", + "baseName": "schedule", + "type": "string", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1CalendarEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts new file mode 100644 index 0000000..26bb133 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1CatchupConfiguration { + 'enabled'?: boolean; + 'maxDuration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "enabled", + "baseName": "enabled", + "type": "boolean", + "format": "" + }, + { + "name": "maxDuration", + "baseName": "maxDuration", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1CatchupConfiguration.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Condition.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Condition.ts new file mode 100644 index 0000000..eff2050 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Condition.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Condition { + /** + * 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. + */ + 'lastTransitionTime'?: Date; + 'message'?: string; + 'reason'?: string; + 'status'?: string; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "lastTransitionTime", + "baseName": "lastTransitionTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Condition.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts new file mode 100644 index 0000000..60556b7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConditionsResetByTime { + 'cron'?: string; + 'timezone'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cron", + "baseName": "cron", + "type": "string", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ConditionsResetByTime.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts new file mode 100644 index 0000000..df2b69e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConditionsResetCriteria { + 'byTime'?: IoArgoprojEventsV1alpha1ConditionsResetByTime; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "byTime", + "baseName": "byTime", + "type": "IoArgoprojEventsV1alpha1ConditionsResetByTime", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ConditionsResetCriteria.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts new file mode 100644 index 0000000..ebae96b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConfigMapPersistence { + 'createIfNotExist'?: boolean; + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createIfNotExist", + "baseName": "createIfNotExist", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ConfigMapPersistence.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CustomTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CustomTrigger.ts new file mode 100644 index 0000000..6528d6c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1CustomTrigger.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* CustomTrigger refers to the specification of the custom trigger. +*/ +export class IoArgoprojEventsV1alpha1CustomTrigger { + 'certSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Parameters is the list of parameters that is applied to resolved custom trigger trigger object. + */ + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'secure'?: boolean; + /** + * ServerNameOverride for the secure connection between sensor and custom trigger gRPC server. + */ + 'serverNameOverride'?: string; + 'serverURL'?: string; + /** + * Spec is the custom trigger resource specification that custom trigger gRPC server knows how to interpret. + */ + 'spec'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "certSecret", + "baseName": "certSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "secure", + "baseName": "secure", + "type": "boolean", + "format": "" + }, + { + "name": "serverNameOverride", + "baseName": "serverNameOverride", + "type": "string", + "format": "" + }, + { + "name": "serverURL", + "baseName": "serverURL", + "type": "string", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1CustomTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1DataFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1DataFilter.ts new file mode 100644 index 0000000..79b5dfb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1DataFilter.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1DataFilter { + /** + * Comparator compares the event data with a user given value. Can be \">=\", \">\", \"=\", \"!=\", \"<\", or \"<=\". Is optional, and if left blank treated as equality \"=\". + */ + 'comparator'?: string; + /** + * Path is the JSONPath of the event\'s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'path'?: string; + 'template'?: string; + 'type'?: string; + 'value'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "comparator", + "baseName": "comparator", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1DataFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts new file mode 100644 index 0000000..378757d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts @@ -0,0 +1,105 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EmitterEventSource { + /** + * Broker URI to connect to. + */ + 'broker'?: string; + 'channelKey'?: string; + 'channelName'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "broker", + "baseName": "broker", + "type": "string", + "format": "" + }, + { + "name": "channelKey", + "baseName": "channelKey", + "type": "string", + "format": "" + }, + { + "name": "channelName", + "baseName": "channelName", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EmitterEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventContext.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventContext.ts new file mode 100644 index 0000000..ee07d2d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventContext.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventContext { + /** + * DataContentType - A MIME (RFC2046) string describing the media type of `data`. + */ + 'datacontenttype'?: string; + /** + * ID of the event; must be non-empty and unique within the scope of the producer. + */ + 'id'?: string; + /** + * Source - A URI describing the event producer. + */ + 'source'?: string; + /** + * SpecVersion - The version of the CloudEvents specification used by the io.argoproj.workflow.v1alpha1. + */ + 'specversion'?: string; + 'subject'?: string; + /** + * 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. + */ + 'time'?: Date; + /** + * Type - The type of the occurrence which has happened. + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "datacontenttype", + "baseName": "datacontenttype", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + }, + { + "name": "specversion", + "baseName": "specversion", + "type": "string", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventContext.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependency.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependency.ts new file mode 100644 index 0000000..35d9fed --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependency.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventDependency { + 'eventName'?: string; + 'eventSourceName'?: string; + 'filters'?: IoArgoprojEventsV1alpha1EventDependencyFilter; + /** + * FiltersLogicalOperator defines how different filters are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'filtersLogicalOperator'?: string; + 'name'?: string; + 'transform'?: IoArgoprojEventsV1alpha1EventDependencyTransformer; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventName", + "baseName": "eventName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceName", + "baseName": "eventSourceName", + "type": "string", + "format": "" + }, + { + "name": "filters", + "baseName": "filters", + "type": "IoArgoprojEventsV1alpha1EventDependencyFilter", + "format": "" + }, + { + "name": "filtersLogicalOperator", + "baseName": "filtersLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "transform", + "baseName": "transform", + "type": "IoArgoprojEventsV1alpha1EventDependencyTransformer", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventDependency.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts new file mode 100644 index 0000000..1e86648 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* EventDependencyFilter defines filters and constraints for a io.argoproj.workflow.v1alpha1. +*/ +export class IoArgoprojEventsV1alpha1EventDependencyFilter { + 'context'?: IoArgoprojEventsV1alpha1EventContext; + 'data'?: Array; + /** + * DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'dataLogicalOperator'?: string; + /** + * ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'exprLogicalOperator'?: string; + /** + * Exprs contains the list of expressions evaluated against the event payload. + */ + 'exprs'?: Array; + /** + * Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1. + */ + 'script'?: string; + 'time'?: IoArgoprojEventsV1alpha1TimeFilter; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "context", + "baseName": "context", + "type": "IoArgoprojEventsV1alpha1EventContext", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "dataLogicalOperator", + "baseName": "dataLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "exprLogicalOperator", + "baseName": "exprLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "exprs", + "baseName": "exprs", + "type": "Array", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "IoArgoprojEventsV1alpha1TimeFilter", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventDependencyFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts new file mode 100644 index 0000000..647cb54 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventDependencyTransformer { + 'jq'?: string; + 'script'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "jq", + "baseName": "jq", + "type": "string", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventDependencyTransformer.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventPersistence.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventPersistence.ts new file mode 100644 index 0000000..86a671b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventPersistence.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventPersistence { + 'catchup'?: IoArgoprojEventsV1alpha1CatchupConfiguration; + 'configMap'?: IoArgoprojEventsV1alpha1ConfigMapPersistence; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "catchup", + "baseName": "catchup", + "type": "IoArgoprojEventsV1alpha1CatchupConfiguration", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "IoArgoprojEventsV1alpha1ConfigMapPersistence", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventPersistence.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSource.ts new file mode 100644 index 0000000..8d688d4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EventSource { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoArgoprojEventsV1alpha1EventSourceSpec; + 'status'?: IoArgoprojEventsV1alpha1EventSourceStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojEventsV1alpha1EventSourceSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1EventSourceStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts new file mode 100644 index 0000000..945829b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceFilter { + 'expression'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventSourceFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceList.ts new file mode 100644 index 0000000..fcaffd9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceList.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceList { + 'items'?: Array; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventSourceList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts new file mode 100644 index 0000000..c8deb35 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts @@ -0,0 +1,274 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EventSourceSpec { + 'amqp'?: { [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }; + 'azureEventsHub'?: { [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }; + 'bitbucket'?: { [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }; + 'bitbucketserver'?: { [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }; + 'calendar'?: { [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }; + 'emitter'?: { [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }; + 'eventBusName'?: string; + 'file'?: { [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }; + 'generic'?: { [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }; + 'github'?: { [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }; + 'gitlab'?: { [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }; + 'hdfs'?: { [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }; + 'kafka'?: { [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }; + 'minio'?: { [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }; + 'mqtt'?: { [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }; + 'nats'?: { [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }; + 'nsq'?: { [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }; + 'pubSub'?: { [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }; + 'pulsar'?: { [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }; + 'redis'?: { [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }; + 'redisStream'?: { [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }; + 'replicas'?: number; + 'resource'?: { [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }; + 'service'?: IoArgoprojEventsV1alpha1Service; + 'slack'?: { [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }; + 'sns'?: { [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }; + 'sqs'?: { [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }; + 'storageGrid'?: { [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }; + 'stripe'?: { [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }; + 'template'?: IoArgoprojEventsV1alpha1Template; + 'webhook'?: { [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "amqp", + "baseName": "amqp", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }", + "format": "" + }, + { + "name": "azureEventsHub", + "baseName": "azureEventsHub", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }", + "format": "" + }, + { + "name": "bitbucket", + "baseName": "bitbucket", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }", + "format": "" + }, + { + "name": "bitbucketserver", + "baseName": "bitbucketserver", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }", + "format": "" + }, + { + "name": "calendar", + "baseName": "calendar", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }", + "format": "" + }, + { + "name": "emitter", + "baseName": "emitter", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }", + "format": "" + }, + { + "name": "eventBusName", + "baseName": "eventBusName", + "type": "string", + "format": "" + }, + { + "name": "file", + "baseName": "file", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }", + "format": "" + }, + { + "name": "generic", + "baseName": "generic", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }", + "format": "" + }, + { + "name": "github", + "baseName": "github", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }", + "format": "" + }, + { + "name": "gitlab", + "baseName": "gitlab", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }", + "format": "" + }, + { + "name": "kafka", + "baseName": "kafka", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }", + "format": "" + }, + { + "name": "minio", + "baseName": "minio", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }", + "format": "" + }, + { + "name": "mqtt", + "baseName": "mqtt", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }", + "format": "" + }, + { + "name": "nats", + "baseName": "nats", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }", + "format": "" + }, + { + "name": "nsq", + "baseName": "nsq", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }", + "format": "" + }, + { + "name": "pubSub", + "baseName": "pubSub", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }", + "format": "" + }, + { + "name": "pulsar", + "baseName": "pulsar", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }", + "format": "" + }, + { + "name": "redis", + "baseName": "redis", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }", + "format": "" + }, + { + "name": "redisStream", + "baseName": "redisStream", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }", + "format": "" + }, + { + "name": "replicas", + "baseName": "replicas", + "type": "number", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }", + "format": "" + }, + { + "name": "service", + "baseName": "service", + "type": "IoArgoprojEventsV1alpha1Service", + "format": "" + }, + { + "name": "slack", + "baseName": "slack", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }", + "format": "" + }, + { + "name": "sns", + "baseName": "sns", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }", + "format": "" + }, + { + "name": "sqs", + "baseName": "sqs", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }", + "format": "" + }, + { + "name": "storageGrid", + "baseName": "storageGrid", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }", + "format": "" + }, + { + "name": "stripe", + "baseName": "stripe", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1Template", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventSourceSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts new file mode 100644 index 0000000..730e5e2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceStatus { + 'status'?: IoArgoprojEventsV1alpha1Status; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1Status", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1EventSourceStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ExprFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ExprFilter.ts new file mode 100644 index 0000000..15a58c6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ExprFilter.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ExprFilter { + /** + * Expr refers to the expression that determines the outcome of the filter. + */ + 'expr'?: string; + /** + * Fields refers to set of keys that refer to the paths within event payload. + */ + 'fields'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expr", + "baseName": "expr", + "type": "string", + "format": "" + }, + { + "name": "fields", + "baseName": "fields", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ExprFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileArtifact.ts new file mode 100644 index 0000000..c2c3670 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileArtifact.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1FileArtifact { + 'path'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1FileArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileEventSource.ts new file mode 100644 index 0000000..340ac56 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1FileEventSource.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { HttpFile } from '../http/http'; + +/** +* FileEventSource describes an event-source for file related events. +*/ +export class IoArgoprojEventsV1alpha1FileEventSource { + 'eventType'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'polling'?: boolean; + 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventType", + "baseName": "eventType", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "polling", + "baseName": "polling", + "type": "boolean", + "format": "" + }, + { + "name": "watchPathConfig", + "baseName": "watchPathConfig", + "type": "IoArgoprojEventsV1alpha1WatchPathConfig", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1FileEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GenericEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GenericEventSource.ts new file mode 100644 index 0000000..d8cf36e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GenericEventSource.ts @@ -0,0 +1,88 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GenericEventSource refers to a generic event source. It can be used to implement a custom event source. +*/ +export class IoArgoprojEventsV1alpha1GenericEventSource { + 'authSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'config'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + /** + * Insecure determines the type of connection. + */ + 'insecure'?: boolean; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + /** + * URL of the gRPC server that implements the event source. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authSecret", + "baseName": "authSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "config", + "baseName": "config", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GenericEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitArtifact.ts new file mode 100644 index 0000000..8b5495a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitArtifact.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GitArtifact { + 'branch'?: string; + /** + * Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don\'t use any specific git provider client. + */ + 'cloneDirectory'?: string; + 'creds'?: IoArgoprojEventsV1alpha1GitCreds; + 'filePath'?: string; + 'insecureIgnoreHostKey'?: boolean; + 'ref'?: string; + 'remote'?: IoArgoprojEventsV1alpha1GitRemoteConfig; + 'sshKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tag'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "branch", + "baseName": "branch", + "type": "string", + "format": "" + }, + { + "name": "cloneDirectory", + "baseName": "cloneDirectory", + "type": "string", + "format": "" + }, + { + "name": "creds", + "baseName": "creds", + "type": "IoArgoprojEventsV1alpha1GitCreds", + "format": "" + }, + { + "name": "filePath", + "baseName": "filePath", + "type": "string", + "format": "" + }, + { + "name": "insecureIgnoreHostKey", + "baseName": "insecureIgnoreHostKey", + "type": "boolean", + "format": "" + }, + { + "name": "ref", + "baseName": "ref", + "type": "string", + "format": "" + }, + { + "name": "remote", + "baseName": "remote", + "type": "IoArgoprojEventsV1alpha1GitRemoteConfig", + "format": "" + }, + { + "name": "sshKeySecret", + "baseName": "sshKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tag", + "baseName": "tag", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GitArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitCreds.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitCreds.ts new file mode 100644 index 0000000..19260f4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitCreds.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GitCreds { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GitCreds.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts new file mode 100644 index 0000000..f4f47ee --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GitRemoteConfig { + /** + * Name of the remote to fetch from. + */ + 'name'?: string; + /** + * URLs the URLs of a remote repository. It must be non-empty. Fetch will always use the first URL, while push will use all of them. + */ + 'urls'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "urls", + "baseName": "urls", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GitRemoteConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts new file mode 100644 index 0000000..e276196 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GithubAppCreds { + 'appID'?: string; + 'installationID'?: string; + 'privateKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "appID", + "baseName": "appID", + "type": "string", + "format": "" + }, + { + "name": "installationID", + "baseName": "installationID", + "type": "string", + "format": "" + }, + { + "name": "privateKey", + "baseName": "privateKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GithubAppCreds.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubEventSource.ts new file mode 100644 index 0000000..0c7ae02 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GithubEventSource.ts @@ -0,0 +1,165 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GithubEventSource { + 'active'?: boolean; + 'apiToken'?: IoK8sApiCoreV1SecretKeySelector; + 'contentType'?: string; + 'deleteHookOnFinish'?: boolean; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'githubApp'?: IoArgoprojEventsV1alpha1GithubAppCreds; + 'githubBaseURL'?: string; + 'githubUploadURL'?: string; + 'id'?: string; + 'insecure'?: boolean; + 'metadata'?: { [key: string]: string; }; + /** + * Organizations holds the names of organizations (used for organization level webhooks). Not required if Repositories is set. + */ + 'organizations'?: Array; + 'owner'?: string; + /** + * Repositories holds the information of repositories, which uses repo owner as the key, and list of repo names as the value. Not required if Organizations is set. + */ + 'repositories'?: Array; + 'repository'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "active", + "baseName": "active", + "type": "boolean", + "format": "" + }, + { + "name": "apiToken", + "baseName": "apiToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "contentType", + "baseName": "contentType", + "type": "string", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "githubApp", + "baseName": "githubApp", + "type": "IoArgoprojEventsV1alpha1GithubAppCreds", + "format": "" + }, + { + "name": "githubBaseURL", + "baseName": "githubBaseURL", + "type": "string", + "format": "" + }, + { + "name": "githubUploadURL", + "baseName": "githubUploadURL", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "organizations", + "baseName": "organizations", + "type": "Array", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repository", + "baseName": "repository", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + }, + { + "name": "webhookSecret", + "baseName": "webhookSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GithubEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts new file mode 100644 index 0000000..db88eb1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts @@ -0,0 +1,111 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GitlabEventSource { + 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; + 'deleteHookOnFinish'?: boolean; + 'enableSSLVerification'?: boolean; + /** + * Events are gitlab event to listen to. Refer https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794. + */ + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'gitlabBaseURL'?: string; + 'metadata'?: { [key: string]: string; }; + 'projectID'?: string; + 'projects'?: Array; + 'secretToken'?: IoK8sApiCoreV1SecretKeySelector; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessToken", + "baseName": "accessToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "enableSSLVerification", + "baseName": "enableSSLVerification", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "gitlabBaseURL", + "baseName": "gitlabBaseURL", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectID", + "baseName": "projectID", + "type": "string", + "format": "" + }, + { + "name": "projects", + "baseName": "projects", + "type": "Array", + "format": "" + }, + { + "name": "secretToken", + "baseName": "secretToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1GitlabEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts new file mode 100644 index 0000000..b670dfa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts @@ -0,0 +1,135 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1HDFSEventSource { + 'addresses'?: Array; + 'checkInterval'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + 'metadata'?: { [key: string]: string; }; + 'type'?: string; + 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "checkInterval", + "baseName": "checkInterval", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "watchPathConfig", + "baseName": "watchPathConfig", + "type": "IoArgoprojEventsV1alpha1WatchPathConfig", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1HDFSEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts new file mode 100644 index 0000000..6290da9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1HTTPTrigger { + 'basicAuth'?: IoArgoprojEventsV1alpha1BasicAuth; + 'headers'?: { [key: string]: string; }; + 'method'?: string; + /** + * Parameters is the list of key-value extracted from event\'s payload that are applied to the HTTP trigger resource. + */ + 'parameters'?: Array; + 'payload'?: Array; + 'secureHeaders'?: Array; + 'timeout'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * URL refers to the URL to send HTTP request to. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basicAuth", + "baseName": "basicAuth", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "secureHeaders", + "baseName": "secureHeaders", + "type": "Array", + "format": "" + }, + { + "name": "timeout", + "baseName": "timeout", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1HTTPTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Int64OrString.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Int64OrString.ts new file mode 100644 index 0000000..06a5707 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Int64OrString.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Int64OrString { + 'int64Val'?: string; + 'strVal'?: string; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "int64Val", + "baseName": "int64Val", + "type": "string", + "format": "" + }, + { + "name": "strVal", + "baseName": "strVal", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Int64OrString.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts new file mode 100644 index 0000000..747b99a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1K8SResourcePolicy { + 'backoff'?: IoArgoprojEventsV1alpha1Backoff; + 'errorOnBackoffTimeout'?: boolean; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "backoff", + "baseName": "backoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "errorOnBackoffTimeout", + "baseName": "errorOnBackoffTimeout", + "type": "boolean", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1K8SResourcePolicy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts new file mode 100644 index 0000000..805961c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1KafkaConsumerGroup { + 'groupName'?: string; + 'oldest'?: boolean; + 'rebalanceStrategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "groupName", + "baseName": "groupName", + "type": "string", + "format": "" + }, + { + "name": "oldest", + "baseName": "oldest", + "type": "boolean", + "format": "" + }, + { + "name": "rebalanceStrategy", + "baseName": "rebalanceStrategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1KafkaConsumerGroup.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts new file mode 100644 index 0000000..2b229e0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts @@ -0,0 +1,127 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1KafkaEventSource { + /** + * Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional + */ + 'config'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'consumerGroup'?: IoArgoprojEventsV1alpha1KafkaConsumerGroup; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'limitEventsPerSecond'?: string; + 'metadata'?: { [key: string]: string; }; + 'partition'?: string; + 'sasl'?: IoArgoprojEventsV1alpha1SASLConfig; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + 'url'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "consumerGroup", + "baseName": "consumerGroup", + "type": "IoArgoprojEventsV1alpha1KafkaConsumerGroup", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "limitEventsPerSecond", + "baseName": "limitEventsPerSecond", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "string", + "format": "" + }, + { + "name": "sasl", + "baseName": "sasl", + "type": "IoArgoprojEventsV1alpha1SASLConfig", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1KafkaEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts new file mode 100644 index 0000000..909582a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts @@ -0,0 +1,136 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* KafkaTrigger refers to the specification of the Kafka trigger. +*/ +export class IoArgoprojEventsV1alpha1KafkaTrigger { + 'compress'?: boolean; + 'flushFrequency'?: number; + /** + * Parameters is the list of parameters that is applied to resolved Kafka trigger object. + */ + 'parameters'?: Array; + /** + * Partition to write data to. + */ + 'partition'?: number; + /** + * The partitioning key for the messages put on the Kafka topic. Defaults to broker url. +optional. + */ + 'partitioningKey'?: string; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + /** + * RequiredAcks used in producer to tell the broker how many replica acknowledgements Defaults to 1 (Only wait for the leader to ack). +optional. + */ + 'requiredAcks'?: number; + 'sasl'?: IoArgoprojEventsV1alpha1SASLConfig; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + /** + * URL of the Kafka broker, multiple URLs separated by comma. + */ + 'url'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "compress", + "baseName": "compress", + "type": "boolean", + "format": "" + }, + { + "name": "flushFrequency", + "baseName": "flushFrequency", + "type": "number", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "partitioningKey", + "baseName": "partitioningKey", + "type": "string", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "requiredAcks", + "baseName": "requiredAcks", + "type": "number", + "format": "" + }, + { + "name": "sasl", + "baseName": "sasl", + "type": "IoArgoprojEventsV1alpha1SASLConfig", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1KafkaTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1LogTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1LogTrigger.ts new file mode 100644 index 0000000..487bb57 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1LogTrigger.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1LogTrigger { + 'intervalSeconds'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "intervalSeconds", + "baseName": "intervalSeconds", + "type": "string", + "format": "uint64" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1LogTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts new file mode 100644 index 0000000..9637e55 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts @@ -0,0 +1,87 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1MQTTEventSource { + 'clientId'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientId", + "baseName": "clientId", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1MQTTEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Metadata.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Metadata.ts new file mode 100644 index 0000000..2d94329 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Metadata.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Metadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Metadata.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSAuth.ts new file mode 100644 index 0000000..d21f7c2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSAuth.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1NATSAuth { + 'basic'?: IoArgoprojEventsV1alpha1BasicAuth; + 'credential'?: IoK8sApiCoreV1SecretKeySelector; + 'nkey'?: IoK8sApiCoreV1SecretKeySelector; + 'token'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "credential", + "baseName": "credential", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "nkey", + "baseName": "nkey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "token", + "baseName": "token", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1NATSAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts new file mode 100644 index 0000000..2e6886e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts @@ -0,0 +1,88 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1NATSEventsSource { + 'auth'?: IoArgoprojEventsV1alpha1NATSAuth; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'subject'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1NATSAuth", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1NATSEventsSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSTrigger.ts new file mode 100644 index 0000000..3693da8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NATSTrigger.ts @@ -0,0 +1,74 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +/** +* NATSTrigger refers to the specification of the NATS trigger. +*/ +export class IoArgoprojEventsV1alpha1NATSTrigger { + 'parameters'?: Array; + 'payload'?: Array; + /** + * Name of the subject to put message on. + */ + 'subject'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * URL of the NATS cluster. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1NATSTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NSQEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NSQEventSource.ts new file mode 100644 index 0000000..468a1cb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1NSQEventSource.ts @@ -0,0 +1,90 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1NSQEventSource { + 'channel'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * Topic to subscribe to. + */ + 'topic'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channel", + "baseName": "channel", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1NSQEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts new file mode 100644 index 0000000..cfd026c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OpenWhiskTrigger refers to the specification of the OpenWhisk trigger. +*/ +export class IoArgoprojEventsV1alpha1OpenWhiskTrigger { + /** + * Name of the action/function. + */ + 'actionName'?: string; + 'authToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Host URL of the OpenWhisk. + */ + 'host'?: string; + /** + * Namespace for the action. Defaults to \"_\". +optional. + */ + 'namespace'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "actionName", + "baseName": "actionName", + "type": "string", + "format": "" + }, + { + "name": "authToken", + "baseName": "authToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1OpenWhiskTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts new file mode 100644 index 0000000..a51a852 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1OwnedRepositories { + 'names'?: Array; + 'owner'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "names", + "baseName": "names", + "type": "Array", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1OwnedRepositories.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PayloadField.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PayloadField.ts new file mode 100644 index 0000000..92f398d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PayloadField.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PayloadField binds a value at path within the event payload against a name. +*/ +export class IoArgoprojEventsV1alpha1PayloadField { + /** + * Name acts as key that holds the value at the path. + */ + 'name'?: string; + /** + * Path is the JSONPath of the event\'s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'path'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1PayloadField.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts new file mode 100644 index 0000000..dbcbc33 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* PubSubEventSource refers to event-source for GCP PubSub related events. +*/ +export class IoArgoprojEventsV1alpha1PubSubEventSource { + 'credentialSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'deleteSubscriptionOnFinish'?: boolean; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'projectID'?: string; + 'subscriptionID'?: string; + 'topic'?: string; + 'topicProjectID'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "credentialSecret", + "baseName": "credentialSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "deleteSubscriptionOnFinish", + "baseName": "deleteSubscriptionOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectID", + "baseName": "projectID", + "type": "string", + "format": "" + }, + { + "name": "subscriptionID", + "baseName": "subscriptionID", + "type": "string", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "topicProjectID", + "baseName": "topicProjectID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1PubSubEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts new file mode 100644 index 0000000..224ca30 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts @@ -0,0 +1,116 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1PulsarEventSource { + 'authTokenSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'tlsAllowInsecureConnection'?: boolean; + 'tlsTrustCertsSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tlsValidateHostname'?: boolean; + 'topics'?: Array; + 'type'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authTokenSecret", + "baseName": "authTokenSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "tlsAllowInsecureConnection", + "baseName": "tlsAllowInsecureConnection", + "type": "boolean", + "format": "" + }, + { + "name": "tlsTrustCertsSecret", + "baseName": "tlsTrustCertsSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tlsValidateHostname", + "baseName": "tlsValidateHostname", + "type": "boolean", + "format": "" + }, + { + "name": "topics", + "baseName": "topics", + "type": "Array", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1PulsarEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts new file mode 100644 index 0000000..266ba90 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts @@ -0,0 +1,111 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PulsarTrigger refers to the specification of the Pulsar trigger. +*/ +export class IoArgoprojEventsV1alpha1PulsarTrigger { + 'authTokenSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + /** + * Parameters is the list of parameters that is applied to resolved Kafka trigger object. + */ + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'tlsAllowInsecureConnection'?: boolean; + 'tlsTrustCertsSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tlsValidateHostname'?: boolean; + 'topic'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authTokenSecret", + "baseName": "authTokenSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "tlsAllowInsecureConnection", + "baseName": "tlsAllowInsecureConnection", + "type": "boolean", + "format": "" + }, + { + "name": "tlsTrustCertsSecret", + "baseName": "tlsTrustCertsSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tlsValidateHostname", + "baseName": "tlsValidateHostname", + "type": "boolean", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1PulsarTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RateLimit.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RateLimit.ts new file mode 100644 index 0000000..a52ac56 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RateLimit.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1RateLimit { + 'requestsPerUnit'?: number; + 'unit'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "requestsPerUnit", + "baseName": "requestsPerUnit", + "type": "number", + "format": "" + }, + { + "name": "unit", + "baseName": "unit", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1RateLimit.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisEventSource.ts new file mode 100644 index 0000000..af04416 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisEventSource.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1RedisEventSource { + 'channels'?: Array; + 'db'?: number; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'namespace'?: string; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channels", + "baseName": "channels", + "type": "Array", + "format": "" + }, + { + "name": "db", + "baseName": "db", + "type": "number", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1RedisEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts new file mode 100644 index 0000000..679adf3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1RedisStreamEventSource { + 'consumerGroup'?: string; + 'db'?: number; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'maxMsgCountPerRead'?: number; + 'metadata'?: { [key: string]: string; }; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Streams to look for entries. XREADGROUP is used on all streams using a single consumer group. + */ + 'streams'?: Array; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "consumerGroup", + "baseName": "consumerGroup", + "type": "string", + "format": "" + }, + { + "name": "db", + "baseName": "db", + "type": "number", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "maxMsgCountPerRead", + "baseName": "maxMsgCountPerRead", + "type": "number", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "streams", + "baseName": "streams", + "type": "Array", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1RedisStreamEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Resource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Resource.ts new file mode 100644 index 0000000..9544d0c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Resource.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Resource represent arbitrary structured data. +*/ +export class IoArgoprojEventsV1alpha1Resource { + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Resource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts new file mode 100644 index 0000000..740d83a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { HttpFile } from '../http/http'; + +/** +* ResourceEventSource refers to a event-source for K8s resource related events. +*/ +export class IoArgoprojEventsV1alpha1ResourceEventSource { + /** + * EventTypes is the list of event type to watch. Possible values are - ADD, UPDATE and DELETE. + */ + 'eventTypes'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1ResourceFilter; + 'groupVersionResource'?: IoK8sApimachineryPkgApisMetaV1GroupVersionResource; + 'metadata'?: { [key: string]: string; }; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventTypes", + "baseName": "eventTypes", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1ResourceFilter", + "format": "" + }, + { + "name": "groupVersionResource", + "baseName": "groupVersionResource", + "type": "IoK8sApimachineryPkgApisMetaV1GroupVersionResource", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ResourceEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceFilter.ts new file mode 100644 index 0000000..df226ed --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ResourceFilter.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ResourceFilter { + 'afterStart'?: boolean; + /** + * 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. + */ + 'createdBy'?: Date; + 'fields'?: Array; + 'labels'?: Array; + 'prefix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "afterStart", + "baseName": "afterStart", + "type": "boolean", + "format": "" + }, + { + "name": "createdBy", + "baseName": "createdBy", + "type": "Date", + "format": "date-time" + }, + { + "name": "fields", + "baseName": "fields", + "type": "Array", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "Array", + "format": "" + }, + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ResourceFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Artifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Artifact.ts new file mode 100644 index 0000000..e3cdfbc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Artifact.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1S3Artifact { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'bucket'?: IoArgoprojEventsV1alpha1S3Bucket; + 'endpoint'?: string; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1S3Filter; + 'insecure'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "IoArgoprojEventsV1alpha1S3Bucket", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1S3Filter", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1S3Artifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Bucket.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Bucket.ts new file mode 100644 index 0000000..57afc9b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Bucket.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1S3Bucket { + 'key'?: string; + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1S3Bucket.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Filter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Filter.ts new file mode 100644 index 0000000..02ac623 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1S3Filter.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1S3Filter { + 'prefix'?: string; + 'suffix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "suffix", + "baseName": "suffix", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1S3Filter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SASLConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SASLConfig.ts new file mode 100644 index 0000000..f678440 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SASLConfig.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SASLConfig { + 'mechanism'?: string; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'user'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mechanism", + "baseName": "mechanism", + "type": "string", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SASLConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SNSEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SNSEventSource.ts new file mode 100644 index 0000000..e8d4ec9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SNSEventSource.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SNSEventSource { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'endpoint'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + 'topicArn'?: string; + 'validateSignature'?: boolean; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "topicArn", + "baseName": "topicArn", + "type": "string", + "format": "" + }, + { + "name": "validateSignature", + "baseName": "validateSignature", + "type": "boolean", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SNSEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SQSEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SQSEventSource.ts new file mode 100644 index 0000000..c3e1bcb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SQSEventSource.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SQSEventSource { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'dlq'?: boolean; + 'endpoint'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'queue'?: string; + 'queueAccountId'?: string; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sessionToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. + */ + 'waitTimeSeconds'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "dlq", + "baseName": "dlq", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "queue", + "baseName": "queue", + "type": "string", + "format": "" + }, + { + "name": "queueAccountId", + "baseName": "queueAccountId", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sessionToken", + "baseName": "sessionToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "waitTimeSeconds", + "baseName": "waitTimeSeconds", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SQSEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SecureHeader.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SecureHeader.ts new file mode 100644 index 0000000..93544e6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SecureHeader.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SecureHeader { + 'name'?: string; + 'valueFrom'?: IoArgoprojEventsV1alpha1ValueFromSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojEventsV1alpha1ValueFromSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SecureHeader.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Selector.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Selector.ts new file mode 100644 index 0000000..8422015 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Selector.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Selector represents conditional operation to select K8s objects. +*/ +export class IoArgoprojEventsV1alpha1Selector { + 'key'?: string; + 'operation'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Selector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Sensor.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Sensor.ts new file mode 100644 index 0000000..e409dfc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Sensor.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Sensor { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoArgoprojEventsV1alpha1SensorSpec; + 'status'?: IoArgoprojEventsV1alpha1SensorStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojEventsV1alpha1SensorSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1SensorStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Sensor.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorList.ts new file mode 100644 index 0000000..cfa04dd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorList.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SensorList { + 'items'?: Array; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SensorList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorSpec.ts new file mode 100644 index 0000000..2e305c4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorSpec.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SensorSpec { + /** + * Dependencies is a list of the events that this sensor is dependent on. + */ + 'dependencies'?: Array; + /** + * ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails. Once sensor state is set to `error`, no further triggers will be processed. + */ + 'errorOnFailedRound'?: boolean; + 'eventBusName'?: string; + 'replicas'?: number; + 'template'?: IoArgoprojEventsV1alpha1Template; + /** + * Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor. + */ + 'triggers'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "errorOnFailedRound", + "baseName": "errorOnFailedRound", + "type": "boolean", + "format": "" + }, + { + "name": "eventBusName", + "baseName": "eventBusName", + "type": "string", + "format": "" + }, + { + "name": "replicas", + "baseName": "replicas", + "type": "number", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1Template", + "format": "" + }, + { + "name": "triggers", + "baseName": "triggers", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SensorSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorStatus.ts new file mode 100644 index 0000000..6ee3854 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SensorStatus.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { HttpFile } from '../http/http'; + +/** +* SensorStatus contains information about the status of a sensor. +*/ +export class IoArgoprojEventsV1alpha1SensorStatus { + 'status'?: IoArgoprojEventsV1alpha1Status; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1Status", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SensorStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Service.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Service.ts new file mode 100644 index 0000000..252c537 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Service.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Service { + 'clusterIP'?: string; + 'ports'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterIP", + "baseName": "clusterIP", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Service.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackEventSource.ts new file mode 100644 index 0000000..9cdd2af --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackEventSource.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SlackEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'signingSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'token'?: IoK8sApiCoreV1SecretKeySelector; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "signingSecret", + "baseName": "signingSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "token", + "baseName": "token", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SlackEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackTrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackTrigger.ts new file mode 100644 index 0000000..3c8660d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1SlackTrigger.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* SlackTrigger refers to the specification of the slack notification trigger. +*/ +export class IoArgoprojEventsV1alpha1SlackTrigger { + 'channel'?: string; + 'message'?: string; + 'parameters'?: Array; + 'slackToken'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channel", + "baseName": "channel", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "slackToken", + "baseName": "slackToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1SlackTrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts new file mode 100644 index 0000000..9724bb6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StandardK8STrigger { + 'liveObject'?: boolean; + 'operation'?: string; + /** + * Parameters is the list of parameters that is applied to resolved K8s trigger object. + */ + 'parameters'?: Array; + 'patchStrategy'?: string; + 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "liveObject", + "baseName": "liveObject", + "type": "boolean", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "patchStrategy", + "baseName": "patchStrategy", + "type": "string", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojEventsV1alpha1ArtifactLocation", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1StandardK8STrigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Status.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Status.ts new file mode 100644 index 0000000..fbf2b53 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Status.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { HttpFile } from '../http/http'; + +/** +* Status is a common structure which can be used for Status field. +*/ +export class IoArgoprojEventsV1alpha1Status { + 'conditions'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Status.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StatusPolicy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StatusPolicy.ts new file mode 100644 index 0000000..8e75faf --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StatusPolicy.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StatusPolicy { + 'allow'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allow", + "baseName": "allow", + "type": "Array", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1StatusPolicy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts new file mode 100644 index 0000000..cbfae78 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts @@ -0,0 +1,100 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1StorageGridEventSource { + /** + * APIURL is the url of the storagegrid api. + */ + 'apiURL'?: string; + 'authToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Name of the bucket to register notifications for. + */ + 'bucket'?: string; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1StorageGridFilter; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'topicArn'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiURL", + "baseName": "apiURL", + "type": "string", + "format": "" + }, + { + "name": "authToken", + "baseName": "authToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1StorageGridFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "topicArn", + "baseName": "topicArn", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1StorageGridEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts new file mode 100644 index 0000000..f7dad70 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StorageGridFilter { + 'prefix'?: string; + 'suffix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "suffix", + "baseName": "suffix", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1StorageGridFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StripeEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StripeEventSource.ts new file mode 100644 index 0000000..701e354 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1StripeEventSource.ts @@ -0,0 +1,65 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StripeEventSource { + 'apiKey'?: IoK8sApiCoreV1SecretKeySelector; + 'createWebhook'?: boolean; + 'eventFilter'?: Array; + 'metadata'?: { [key: string]: string; }; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiKey", + "baseName": "apiKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "createWebhook", + "baseName": "createWebhook", + "type": "boolean", + "format": "" + }, + { + "name": "eventFilter", + "baseName": "eventFilter", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1StripeEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TLSConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TLSConfig.ts new file mode 100644 index 0000000..aad250e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TLSConfig.ts @@ -0,0 +1,60 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* TLSConfig refers to TLS configuration for a client. +*/ +export class IoArgoprojEventsV1alpha1TLSConfig { + 'caCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'insecureSkipVerify'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "caCertSecret", + "baseName": "caCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientCertSecret", + "baseName": "clientCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientKeySecret", + "baseName": "clientKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "insecureSkipVerify", + "baseName": "insecureSkipVerify", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TLSConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Template.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Template.ts new file mode 100644 index 0000000..88c4816 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Template.ts @@ -0,0 +1,112 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Template { + 'affinity'?: IoK8sApiCoreV1Affinity; + 'container'?: IoK8sApiCoreV1Container; + 'imagePullSecrets'?: Array; + 'metadata'?: IoArgoprojEventsV1alpha1Metadata; + 'nodeSelector'?: { [key: string]: string; }; + 'priority'?: number; + 'priorityClassName'?: string; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + 'serviceAccountName'?: string; + 'tolerations'?: Array; + 'volumes'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "IoK8sApiCoreV1Container", + "format": "" + }, + { + "name": "imagePullSecrets", + "baseName": "imagePullSecrets", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoArgoprojEventsV1alpha1Metadata", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "priorityClassName", + "baseName": "priorityClassName", + "type": "string", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Template.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TimeFilter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TimeFilter.ts new file mode 100644 index 0000000..4f5b9b0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TimeFilter.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoArgoprojEventsV1alpha1TimeFilter { + /** + * Start is the beginning of a time window in UTC. Before this time, events for this dependency are ignored. Format is hh:mm:ss. + */ + 'start'?: string; + /** + * Stop is the end of a time window in UTC. After or equal to this time, events for this dependency are ignored and Format is hh:mm:ss. If it is smaller than Start, it is treated as next day of Start (e.g.: 22:00:00-01:00:00 means 22:00:00-25:00:00). + */ + 'stop'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "start", + "baseName": "start", + "type": "string", + "format": "" + }, + { + "name": "stop", + "baseName": "stop", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TimeFilter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Trigger.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Trigger.ts new file mode 100644 index 0000000..fa6a3a6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1Trigger.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Trigger { + 'parameters'?: Array; + 'policy'?: IoArgoprojEventsV1alpha1TriggerPolicy; + 'rateLimit'?: IoArgoprojEventsV1alpha1RateLimit; + 'retryStrategy'?: IoArgoprojEventsV1alpha1Backoff; + 'template'?: IoArgoprojEventsV1alpha1TriggerTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "policy", + "baseName": "policy", + "type": "IoArgoprojEventsV1alpha1TriggerPolicy", + "format": "" + }, + { + "name": "rateLimit", + "baseName": "rateLimit", + "type": "IoArgoprojEventsV1alpha1RateLimit", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1TriggerTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1Trigger.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameter.ts new file mode 100644 index 0000000..8caed14 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameter.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerParameter { + /** + * Dest is the JSONPath of a resource key. A path is a series of keys separated by a dot. The colon character can be escaped with \'.\' The -1 key can be used to append a value to an existing array. See https://github.com/tidwall/sjson#path-syntax for more information about how this is used. + */ + 'dest'?: string; + /** + * Operation is what to do with the existing value at Dest, whether to \'prepend\', \'overwrite\', or \'append\' it. + */ + 'operation'?: string; + 'src'?: IoArgoprojEventsV1alpha1TriggerParameterSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dest", + "baseName": "dest", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "src", + "baseName": "src", + "type": "IoArgoprojEventsV1alpha1TriggerParameterSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TriggerParameter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts new file mode 100644 index 0000000..4dd67c0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerParameterSource { + /** + * ContextKey is the JSONPath of the event\'s (JSON decoded) context key ContextKey is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'contextKey'?: string; + 'contextTemplate'?: string; + /** + * DataKey is the JSONPath of the event\'s (JSON decoded) data key DataKey is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'dataKey'?: string; + 'dataTemplate'?: string; + /** + * DependencyName refers to the name of the dependency. The event which is stored for this dependency is used as payload for the parameterization. Make sure to refer to one of the dependencies you have defined under Dependencies list. + */ + 'dependencyName'?: string; + /** + * Value is the default literal value to use for this parameter source This is only used if the DataKey is invalid. If the DataKey is invalid and this is not defined, this param source will produce an error. + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "contextKey", + "baseName": "contextKey", + "type": "string", + "format": "" + }, + { + "name": "contextTemplate", + "baseName": "contextTemplate", + "type": "string", + "format": "" + }, + { + "name": "dataKey", + "baseName": "dataKey", + "type": "string", + "format": "" + }, + { + "name": "dataTemplate", + "baseName": "dataTemplate", + "type": "string", + "format": "" + }, + { + "name": "dependencyName", + "baseName": "dependencyName", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TriggerParameterSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts new file mode 100644 index 0000000..b5682bf --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerPolicy { + 'k8s'?: IoArgoprojEventsV1alpha1K8SResourcePolicy; + 'status'?: IoArgoprojEventsV1alpha1StatusPolicy; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "k8s", + "baseName": "k8s", + "type": "IoArgoprojEventsV1alpha1K8SResourcePolicy", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1StatusPolicy", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TriggerPolicy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts new file mode 100644 index 0000000..05aca5f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts @@ -0,0 +1,152 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* TriggerTemplate is the template that describes trigger specification. +*/ +export class IoArgoprojEventsV1alpha1TriggerTemplate { + 'argoWorkflow'?: IoArgoprojEventsV1alpha1ArgoWorkflowTrigger; + 'awsLambda'?: IoArgoprojEventsV1alpha1AWSLambdaTrigger; + 'azureEventHubs'?: IoArgoprojEventsV1alpha1AzureEventHubsTrigger; + 'conditions'?: string; + 'conditionsReset'?: Array; + 'custom'?: IoArgoprojEventsV1alpha1CustomTrigger; + 'http'?: IoArgoprojEventsV1alpha1HTTPTrigger; + 'k8s'?: IoArgoprojEventsV1alpha1StandardK8STrigger; + 'kafka'?: IoArgoprojEventsV1alpha1KafkaTrigger; + 'log'?: IoArgoprojEventsV1alpha1LogTrigger; + /** + * Name is a unique name of the action to take. + */ + 'name'?: string; + 'nats'?: IoArgoprojEventsV1alpha1NATSTrigger; + 'openWhisk'?: IoArgoprojEventsV1alpha1OpenWhiskTrigger; + 'pulsar'?: IoArgoprojEventsV1alpha1PulsarTrigger; + 'slack'?: IoArgoprojEventsV1alpha1SlackTrigger; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "argoWorkflow", + "baseName": "argoWorkflow", + "type": "IoArgoprojEventsV1alpha1ArgoWorkflowTrigger", + "format": "" + }, + { + "name": "awsLambda", + "baseName": "awsLambda", + "type": "IoArgoprojEventsV1alpha1AWSLambdaTrigger", + "format": "" + }, + { + "name": "azureEventHubs", + "baseName": "azureEventHubs", + "type": "IoArgoprojEventsV1alpha1AzureEventHubsTrigger", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "string", + "format": "" + }, + { + "name": "conditionsReset", + "baseName": "conditionsReset", + "type": "Array", + "format": "" + }, + { + "name": "custom", + "baseName": "custom", + "type": "IoArgoprojEventsV1alpha1CustomTrigger", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojEventsV1alpha1HTTPTrigger", + "format": "" + }, + { + "name": "k8s", + "baseName": "k8s", + "type": "IoArgoprojEventsV1alpha1StandardK8STrigger", + "format": "" + }, + { + "name": "kafka", + "baseName": "kafka", + "type": "IoArgoprojEventsV1alpha1KafkaTrigger", + "format": "" + }, + { + "name": "log", + "baseName": "log", + "type": "IoArgoprojEventsV1alpha1LogTrigger", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nats", + "baseName": "nats", + "type": "IoArgoprojEventsV1alpha1NATSTrigger", + "format": "" + }, + { + "name": "openWhisk", + "baseName": "openWhisk", + "type": "IoArgoprojEventsV1alpha1OpenWhiskTrigger", + "format": "" + }, + { + "name": "pulsar", + "baseName": "pulsar", + "type": "IoArgoprojEventsV1alpha1PulsarTrigger", + "format": "" + }, + { + "name": "slack", + "baseName": "slack", + "type": "IoArgoprojEventsV1alpha1SlackTrigger", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1TriggerTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1URLArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1URLArtifact.ts new file mode 100644 index 0000000..a374a56 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1URLArtifact.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* URLArtifact contains information about an artifact at an http endpoint. +*/ +export class IoArgoprojEventsV1alpha1URLArtifact { + 'path'?: string; + 'verifyCert'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "verifyCert", + "baseName": "verifyCert", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1URLArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ValueFromSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ValueFromSource.ts new file mode 100644 index 0000000..32c2cce --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1ValueFromSource.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ValueFromSource { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1ValueFromSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts new file mode 100644 index 0000000..b343cd9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WatchPathConfig { + 'directory'?: string; + 'path'?: string; + 'pathRegexp'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "directory", + "baseName": "directory", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "pathRegexp", + "baseName": "pathRegexp", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1WatchPathConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookContext.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookContext.ts new file mode 100644 index 0000000..675e097 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookContext.ts @@ -0,0 +1,98 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WebhookContext { + 'authSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'endpoint'?: string; + 'maxPayloadSize'?: string; + 'metadata'?: { [key: string]: string; }; + 'method'?: string; + /** + * Port on which HTTP server is listening for incoming events. + */ + 'port'?: string; + 'serverCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'serverKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * URL is the url of the server. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authSecret", + "baseName": "authSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "maxPayloadSize", + "baseName": "maxPayloadSize", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + }, + { + "name": "serverCertSecret", + "baseName": "serverCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "serverKeySecret", + "baseName": "serverKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1WebhookContext.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts new file mode 100644 index 0000000..30440c4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WebhookEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'webhookContext'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "webhookContext", + "baseName": "webhookContext", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojEventsV1alpha1WebhookEventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts new file mode 100644 index 0000000..feb9ca2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { HttpFile } from '../http/http'; + +/** +* ArchiveStrategy describes how to archive files/directory when saving artifacts +*/ +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; + 'tar'?: IoArgoprojWorkflowV1alpha1TarStrategy; + /** + * ZipStrategy will unzip zipped input artifacts + */ + 'zip'?: any; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "none", + "baseName": "none", + "type": "any", + "format": "" + }, + { + "name": "tar", + "baseName": "tar", + "type": "IoArgoprojWorkflowV1alpha1TarStrategy", + "format": "" + }, + { + "name": "zip", + "baseName": "zip", + "type": "any", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArchiveStrategy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Arguments.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Arguments.ts new file mode 100644 index 0000000..b77b23e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Arguments.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Arguments to a template +*/ +export class IoArgoprojWorkflowV1alpha1Arguments { + /** + * Artifacts is the list of artifacts to pass to the template or workflow + */ + 'artifacts'?: Array; + /** + * Parameters is the list of parameters to pass to the template or workflow + */ + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Arguments.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts new file mode 100644 index 0000000..21446a4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ArtGCStatus maintains state related to ArtifactGC +*/ +export class IoArgoprojWorkflowV1alpha1ArtGCStatus { + /** + * if this is true, we already checked to see if we need to do it and we don\'t + */ + 'notSpecified'?: boolean; + /** + * have completed Pods been processed? (mapped by Pod name) used to prevent re-processing the Status of a Pod more than once + */ + 'podsRecouped'?: { [key: string]: boolean; }; + /** + * have Pods been started to perform this strategy? (enables us not to re-process what we\'ve already done) + */ + 'strategiesProcessed'?: { [key: string]: boolean; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "notSpecified", + "baseName": "notSpecified", + "type": "boolean", + "format": "" + }, + { + "name": "podsRecouped", + "baseName": "podsRecouped", + "type": "{ [key: string]: boolean; }", + "format": "" + }, + { + "name": "strategiesProcessed", + "baseName": "strategiesProcessed", + "type": "{ [key: string]: boolean; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtGCStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Artifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Artifact.ts new file mode 100644 index 0000000..84edbfc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Artifact.ts @@ -0,0 +1,229 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Artifact indicates an artifact to place at a specified path +*/ +export class IoArgoprojWorkflowV1alpha1Artifact { + 'archive'?: IoArgoprojWorkflowV1alpha1ArchiveStrategy; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1ArtifactGC; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + /** + * Has this been deleted? + */ + 'deleted'?: boolean; + /** + * From allows an artifact to reference an artifact from a previous step + */ + '_from'?: string; + /** + * FromExpression, if defined, is evaluated to specify the value for the artifact + */ + 'fromExpression'?: string; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + /** + * 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 + */ + 'globalName'?: string; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + /** + * mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts. + */ + 'mode'?: number; + /** + * name of the artifact. must be unique within a template\'s inputs/outputs. + */ + 'name': string; + /** + * Make Artifacts optional, if Artifacts doesn\'t generate or exist + */ + 'optional'?: boolean; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + /** + * Path is the container path to the artifact + */ + 'path'?: string; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + /** + * If mode is set, apply the permission recursively into the artifact if it is a folder + */ + 'recurseMode'?: boolean; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + /** + * SubPath allows an artifact to be sourced from a subpath within the specified source + */ + 'subPath'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archive", + "baseName": "archive", + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "deleted", + "baseName": "deleted", + "type": "boolean", + "format": "" + }, + { + "name": "_from", + "baseName": "from", + "type": "string", + "format": "" + }, + { + "name": "fromExpression", + "baseName": "fromExpression", + "type": "string", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "recurseMode", + "baseName": "recurseMode", + "type": "boolean", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Artifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts new file mode 100644 index 0000000..af0b99c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { HttpFile } from '../http/http'; + +/** +* 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 +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGC { + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion + */ + 'serviceAccountName'?: string; + /** + * Strategy is the strategy to use. + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactGC.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts new file mode 100644 index 0000000..20eef75 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactGCSpec specifies the Artifacts that need to be deleted +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGCSpec { + /** + * ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node + */ + 'artifactsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactsByNode", + "baseName": "artifactsByNode", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactGCSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts new file mode 100644 index 0000000..0a555b2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactGCStatus describes the result of the deletion +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGCStatus { + /** + * ArtifactResultsByNode maps Node name to result + */ + 'artifactResultsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactResultsByNode", + "baseName": "artifactResultsByNode", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactGCStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts new file mode 100644 index 0000000..1136aae --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts @@ -0,0 +1,113 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactLocation { + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactLocation.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts new file mode 100644 index 0000000..efbec46 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactNodeSpec { + 'archiveLocation'?: IoArgoprojWorkflowV1alpha1ArtifactLocation; + /** + * Artifacts maps artifact name to Artifact description + */ + 'artifacts'?: { [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLocation", + "baseName": "archiveLocation", + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", + "format": "" + }, + { + "name": "artifacts", + "baseName": "artifacts", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts new file mode 100644 index 0000000..95c9a5d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts @@ -0,0 +1,229 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ArtifactPaths expands a step from a collection of artifacts +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactPaths { + 'archive'?: IoArgoprojWorkflowV1alpha1ArchiveStrategy; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1ArtifactGC; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + /** + * Has this been deleted? + */ + 'deleted'?: boolean; + /** + * From allows an artifact to reference an artifact from a previous step + */ + '_from'?: string; + /** + * FromExpression, if defined, is evaluated to specify the value for the artifact + */ + 'fromExpression'?: string; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + /** + * 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 + */ + 'globalName'?: string; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + /** + * mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts. + */ + 'mode'?: number; + /** + * name of the artifact. must be unique within a template\'s inputs/outputs. + */ + 'name': string; + /** + * Make Artifacts optional, if Artifacts doesn\'t generate or exist + */ + 'optional'?: boolean; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + /** + * Path is the container path to the artifact + */ + 'path'?: string; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + /** + * If mode is set, apply the permission recursively into the artifact if it is a folder + */ + 'recurseMode'?: boolean; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + /** + * SubPath allows an artifact to be sourced from a subpath within the specified source + */ + 'subPath'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archive", + "baseName": "archive", + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "deleted", + "baseName": "deleted", + "type": "boolean", + "format": "" + }, + { + "name": "_from", + "baseName": "from", + "type": "string", + "format": "" + }, + { + "name": "fromExpression", + "baseName": "fromExpression", + "type": "string", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "recurseMode", + "baseName": "recurseMode", + "type": "boolean", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactPaths.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts new file mode 100644 index 0000000..fa40dab --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts @@ -0,0 +1,89 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ArtifactRepository represents an artifact repository in which a controller will store its artifacts +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactRepository { + /** + * ArchiveLogs enables log archiving + */ + 'archiveLogs'?: boolean; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifactRepository; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifactRepository; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifactRepository; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifactRepository; + 's3'?: IoArgoprojWorkflowV1alpha1S3ArtifactRepository; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifactRepository", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifactRepository", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifactRepository", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3ArtifactRepository", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts new file mode 100644 index 0000000..5febfd7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef { + /** + * The name of the config map. Defaults to \"artifact-repositories\". + */ + 'configMap'?: string; + /** + * The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation. + */ + 'key'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts new file mode 100644 index 0000000..a12ae08 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts @@ -0,0 +1,76 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus { + 'artifactRepository'?: IoArgoprojWorkflowV1alpha1ArtifactRepository; + /** + * The name of the config map. Defaults to \"artifact-repositories\". + */ + 'configMap'?: string; + /** + * If this ref represents the default artifact repository, rather than a config map. + */ + '_default'?: boolean; + /** + * The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation. + */ + 'key'?: string; + /** + * The namespace of the config map. Defaults to the workflow\'s namespace, or the controller\'s namespace (if found). + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactRepository", + "baseName": "artifactRepository", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepository", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "string", + "format": "" + }, + { + "name": "_default", + "baseName": "default", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts new file mode 100644 index 0000000..d7526be --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ArtifactResult describes the result of attempting to delete a given Artifact +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactResult { + /** + * Error is an optional error message which should be set if Success==false + */ + 'error'?: string; + /** + * Name is the name of the Artifact + */ + 'name': string; + /** + * Success describes whether the deletion succeeded + */ + 'success'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "success", + "baseName": "success", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactResult.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts new file mode 100644 index 0000000..b5bdc36 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactResultNodeStatus describes the result of the deletion on a given node +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus { + /** + * ArtifactResults maps Artifact name to result of the deletion + */ + 'artifactResults'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactResults", + "baseName": "artifactResults", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts new file mode 100644 index 0000000..cb19d2b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactoryArtifact is the location of an artifactory artifact +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifact { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * URL of the artifact + */ + 'url': string; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts new file mode 100644 index 0000000..e89ea4d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactoryArtifactRepository defines the controller configuration for an artifactory artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * RepoURL is the url for artifactory repo. + */ + 'repoURL'?: string; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "repoURL", + "baseName": "repoURL", + "type": "string", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts new file mode 100644 index 0000000..6f338a3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* AzureArtifact is the location of a an Azure Storage artifact +*/ +export class IoArgoprojWorkflowV1alpha1AzureArtifact { + 'accountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Blob is the blob name (i.e., path) in the container where the artifact resides + */ + 'blob': string; + /** + * Container is the container where resources will be stored + */ + 'container': string; + /** + * Endpoint is the service url associated with an account. It is most likely \"https://.blob.core.windows.net\" + */ + 'endpoint': string; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accountKeySecret", + "baseName": "accountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "blob", + "baseName": "blob", + "type": "string", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "string", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1AzureArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts new file mode 100644 index 0000000..d2e6964 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* AzureArtifactRepository defines the controller configuration for an Azure Blob Storage artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1AzureArtifactRepository { + 'accountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * BlobNameFormat is defines the format of how to store blob names. Can reference workflow variables + */ + 'blobNameFormat'?: string; + /** + * Container is the container where resources will be stored + */ + 'container': string; + /** + * Endpoint is the service url associated with an account. It is most likely \"https://.blob.core.windows.net\" + */ + 'endpoint': string; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accountKeySecret", + "baseName": "accountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "blobNameFormat", + "baseName": "blobNameFormat", + "type": "string", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "string", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1AzureArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Backoff.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Backoff.ts new file mode 100644 index 0000000..a73dc54 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Backoff.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Backoff is a backoff strategy to use within retryStrategy +*/ +export class IoArgoprojWorkflowV1alpha1Backoff { + /** + * Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\") + */ + 'duration'?: string; + 'factor'?: string; + /** + * MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy + */ + 'maxDuration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + }, + { + "name": "factor", + "baseName": "factor", + "type": "string", + "format": "" + }, + { + "name": "maxDuration", + "baseName": "maxDuration", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Backoff.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts new file mode 100644 index 0000000..6282daf --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* BasicAuth describes the secret selectors required for basic authentication +*/ +export class IoArgoprojWorkflowV1alpha1BasicAuth { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1BasicAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Cache.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Cache.ts new file mode 100644 index 0000000..5439d9f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Cache.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* Cache is the configuration for the type of cache to be used +*/ +export class IoArgoprojWorkflowV1alpha1Cache { + 'configMap': IoK8sApiCoreV1ConfigMapKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Cache.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts new file mode 100644 index 0000000..f01adfc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ClientCertAuth holds necessary information for client authentication via certificates +*/ +export class IoArgoprojWorkflowV1alpha1ClientCertAuth { + 'clientCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientCertSecret", + "baseName": "clientCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientKeySecret", + "baseName": "clientKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClientCertAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts new file mode 100644 index 0000000..72376a2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* ClusterWorkflowTemplate is the definition of a workflow template resource in cluster scope +*/ +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts new file mode 100644 index 0000000..842d64c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts new file mode 100644 index 0000000..a6eb22d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts new file mode 100644 index 0000000..758775d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* ClusterWorkflowTemplateList is list of ClusterWorkflowTemplate resources +*/ +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts new file mode 100644 index 0000000..f4bc4d6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest { + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts new file mode 100644 index 0000000..58b35ed --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CollectEventRequest { + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CollectEventRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Column.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Column.ts new file mode 100644 index 0000000..0895d8a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Column.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Column is a custom column that will be exposed in the Workflow List View. +*/ +export class IoArgoprojWorkflowV1alpha1Column { + /** + * The key of the label or annotation, e.g., \"workflows.argoproj.io/completed\". + */ + 'key': string; + /** + * The name of this column, e.g., \"Workflow Completed\". + */ + 'name': string; + /** + * The type of this column, \"label\" or \"annotation\". + */ + 'type': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Column.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Condition.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Condition.ts new file mode 100644 index 0000000..1e8ed57 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Condition.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Condition { + /** + * Message is the condition message + */ + 'message'?: string; + /** + * Status is the status of the condition + */ + 'status'?: string; + /** + * Type is the type of condition + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Condition.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts new file mode 100644 index 0000000..8c880b3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts @@ -0,0 +1,246 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1ContainerNode { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + 'dependencies'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image'?: string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name': string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ContainerNode.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts new file mode 100644 index 0000000..bd68fa4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy { + /** + * 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\". + */ + 'duration'?: string; + 'retries': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + }, + { + "name": "retries", + "baseName": "retries", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts new file mode 100644 index 0000000..4530211 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1ContainerSetTemplate { + 'containers': Array; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy; + 'volumeMounts'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containers", + "baseName": "containers", + "type": "Array", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ContainerSetTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts new file mode 100644 index 0000000..48286a2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoArgoprojWorkflowV1alpha1ContinueOn { + 'error'?: boolean; + 'failed'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "boolean", + "format": "" + }, + { + "name": "failed", + "baseName": "failed", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ContinueOn.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Counter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Counter.ts new file mode 100644 index 0000000..140e5e6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Counter.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Counter is a Counter prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Counter { + /** + * Value is the value of the metric + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Counter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts new file mode 100644 index 0000000..76208dd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts new file mode 100644 index 0000000..b1e8caa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CreateS3BucketOptions options used to determine automatic automatic bucket-creation process +*/ +export class IoArgoprojWorkflowV1alpha1CreateS3BucketOptions { + /** + * ObjectLocking Enable object locking + */ + 'objectLocking'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "objectLocking", + "baseName": "objectLocking", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts new file mode 100644 index 0000000..d3d1587 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* CronWorkflow is the definition of a scheduled workflow resource +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflow { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1CronWorkflowSpec; + 'status'?: IoArgoprojWorkflowV1alpha1CronWorkflowStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflow.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts new file mode 100644 index 0000000..2b00b0f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowList is list of CronWorkflow resources +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflowList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts new file mode 100644 index 0000000..0f5737a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts new file mode 100644 index 0000000..b947e45 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts @@ -0,0 +1,117 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowSpec is the specification of a CronWorkflow +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowSpec { + /** + * ConcurrencyPolicy is the K8s-style concurrency policy that will be used + */ + 'concurrencyPolicy'?: string; + /** + * FailedJobsHistoryLimit is the number of failed jobs to be kept at a time + */ + 'failedJobsHistoryLimit'?: number; + /** + * Schedule is a schedule to run the Workflow in Cron format + */ + 'schedule': string; + /** + * 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. + */ + 'startingDeadlineSeconds'?: number; + /** + * SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time + */ + 'successfulJobsHistoryLimit'?: number; + /** + * Suspend is a flag that will stop new CronWorkflows from running if set to true + */ + 'suspend'?: boolean; + /** + * Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine\'s local time. + */ + 'timezone'?: string; + 'workflowMetadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'workflowSpec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "concurrencyPolicy", + "baseName": "concurrencyPolicy", + "type": "string", + "format": "" + }, + { + "name": "failedJobsHistoryLimit", + "baseName": "failedJobsHistoryLimit", + "type": "number", + "format": "" + }, + { + "name": "schedule", + "baseName": "schedule", + "type": "string", + "format": "" + }, + { + "name": "startingDeadlineSeconds", + "baseName": "startingDeadlineSeconds", + "type": "number", + "format": "" + }, + { + "name": "successfulJobsHistoryLimit", + "baseName": "successfulJobsHistoryLimit", + "type": "number", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "boolean", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + }, + { + "name": "workflowMetadata", + "baseName": "workflowMetadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "workflowSpec", + "baseName": "workflowSpec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflowSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts new file mode 100644 index 0000000..f69bf1d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowStatus is the status of a CronWorkflow +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowStatus { + /** + * Active is a list of active workflows stemming from this CronWorkflow + */ + 'active': Array; + /** + * Conditions is a list of conditions the CronWorkflow may have + */ + 'conditions': Array; + /** + * 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. + */ + 'lastScheduledTime': Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "active", + "baseName": "active", + "type": "Array", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "lastScheduledTime", + "baseName": "lastScheduledTime", + "type": "Date", + "format": "date-time" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflowStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts new file mode 100644 index 0000000..ec9d2f2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTask.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTask.ts new file mode 100644 index 0000000..d46ea75 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTask.ts @@ -0,0 +1,162 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* DAGTask represents a node in the graph during DAG execution +*/ +export class IoArgoprojWorkflowV1alpha1DAGTask { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'continueOn'?: IoArgoprojWorkflowV1alpha1ContinueOn; + /** + * Dependencies are name of other targets which this depends on + */ + 'dependencies'?: Array; + /** + * Depends are name of other targets which this depends on + */ + 'depends'?: string; + /** + * Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'inline'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Name is the name of the target + */ + 'name': string; + /** + * 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. + */ + 'onExit'?: string; + /** + * Name of template to execute + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * When is an expression in which the task should conditionally execute + */ + 'when'?: string; + /** + * WithItems expands a task into multiple parallel tasks from the items in the list + */ + '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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "continueOn", + "baseName": "continueOn", + "type": "IoArgoprojWorkflowV1alpha1ContinueOn", + "format": "" + }, + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "depends", + "baseName": "depends", + "type": "string", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + }, + { + "name": "withItems", + "baseName": "withItems", + "type": "Array", + "format": "" + }, + { + "name": "withParam", + "baseName": "withParam", + "type": "string", + "format": "" + }, + { + "name": "withSequence", + "baseName": "withSequence", + "type": "IoArgoprojWorkflowV1alpha1Sequence", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1DAGTask.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts new file mode 100644 index 0000000..2039496 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { HttpFile } from '../http/http'; + +/** +* DAGTemplate is a template subtype for directed acyclic graph templates +*/ +export class IoArgoprojWorkflowV1alpha1DAGTemplate { + /** + * 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 + */ + 'failFast'?: boolean; + /** + * Target are one or more names of targets to execute in a DAG + */ + 'target'?: string; + /** + * Tasks are a list of DAG tasks + */ + 'tasks': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "failFast", + "baseName": "failFast", + "type": "boolean", + "format": "" + }, + { + "name": "target", + "baseName": "target", + "type": "string", + "format": "" + }, + { + "name": "tasks", + "baseName": "tasks", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1DAGTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Data.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Data.ts new file mode 100644 index 0000000..427a431 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Data.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { HttpFile } from '../http/http'; + +/** +* Data is a data template +*/ +export class IoArgoprojWorkflowV1alpha1Data { + 'source': IoArgoprojWorkflowV1alpha1DataSource; + /** + * Transformation applies a set of transformations + */ + 'transformation': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojWorkflowV1alpha1DataSource", + "format": "" + }, + { + "name": "transformation", + "baseName": "transformation", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Data.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DataSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DataSource.ts new file mode 100644 index 0000000..5372236 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1DataSource.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { HttpFile } from '../http/http'; + +/** +* DataSource sources external data into a data template +*/ +export class IoArgoprojWorkflowV1alpha1DataSource { + 'artifactPaths'?: IoArgoprojWorkflowV1alpha1ArtifactPaths; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactPaths", + "baseName": "artifactPaths", + "type": "IoArgoprojWorkflowV1alpha1ArtifactPaths", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1DataSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Event.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Event.ts new file mode 100644 index 0000000..99844d4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Event.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Event { + /** + * Selector (https://github.com/antonmedv/expr) that we must must match the io.argoproj.workflow.v1alpha1. E.g. `payload.message == \"test\"` + */ + 'selector': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "selector", + "baseName": "selector", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Event.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts new file mode 100644 index 0000000..3a22bbc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ExecutorConfig holds configurations of an executor container. +*/ +export class IoArgoprojWorkflowV1alpha1ExecutorConfig { + /** + * ServiceAccountName specifies the service account name of the executor container. + */ + 'serviceAccountName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ExecutorConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts new file mode 100644 index 0000000..920cd7d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GCSArtifact is the location of a GCS artifact +*/ +export class IoArgoprojWorkflowV1alpha1GCSArtifact { + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * Key is the path in the bucket where the artifact resides + */ + 'key': string; + 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountKeySecret", + "baseName": "serviceAccountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1GCSArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts new file mode 100644 index 0000000..85f4fee --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GCSArtifactRepository defines the controller configuration for a GCS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1GCSArtifactRepository { + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountKeySecret", + "baseName": "serviceAccountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1GCSArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Gauge.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Gauge.ts new file mode 100644 index 0000000..1b57e41 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Gauge.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Gauge is a Gauge prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Gauge { + /** + * Operation defines the operation to apply with value and the metrics\' current value + */ + 'operation'?: string; + /** + * Realtime emits this metric in real time if applicable + */ + 'realtime': boolean; + /** + * 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 + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "realtime", + "baseName": "realtime", + "type": "boolean", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Gauge.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts new file mode 100644 index 0000000..1b46710 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1GetUserInfoResponse { + 'email'?: string; + 'emailVerified'?: boolean; + 'groups'?: Array; + 'issuer'?: string; + 'name'?: string; + 'serviceAccountName'?: string; + 'serviceAccountNamespace'?: string; + 'subject'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, + { + "name": "emailVerified", + "baseName": "emailVerified", + "type": "boolean", + "format": "" + }, + { + "name": "groups", + "baseName": "groups", + "type": "Array", + "format": "" + }, + { + "name": "issuer", + "baseName": "issuer", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountNamespace", + "baseName": "serviceAccountNamespace", + "type": "string", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1GetUserInfoResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts new file mode 100644 index 0000000..1078fca --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts @@ -0,0 +1,133 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GitArtifact is the location of an git artifact +*/ +export class IoArgoprojWorkflowV1alpha1GitArtifact { + /** + * Branch is the branch to fetch when `SingleBranch` is enabled + */ + 'branch'?: string; + /** + * Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip + */ + 'depth'?: number; + /** + * DisableSubmodules disables submodules during git clone + */ + 'disableSubmodules'?: boolean; + /** + * Fetch specifies a number of refs that should be fetched before checkout + */ + 'fetch'?: Array; + /** + * InsecureIgnoreHostKey disables SSH strict host key checking during git clone + */ + 'insecureIgnoreHostKey'?: boolean; + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Repo is the git repository + */ + 'repo': string; + /** + * Revision is the git commit, tag, branch to checkout + */ + 'revision'?: string; + /** + * SingleBranch enables single branch clone, using the `branch` parameter + */ + 'singleBranch'?: boolean; + 'sshPrivateKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "branch", + "baseName": "branch", + "type": "string", + "format": "" + }, + { + "name": "depth", + "baseName": "depth", + "type": "number", + "format": "" + }, + { + "name": "disableSubmodules", + "baseName": "disableSubmodules", + "type": "boolean", + "format": "" + }, + { + "name": "fetch", + "baseName": "fetch", + "type": "Array", + "format": "" + }, + { + "name": "insecureIgnoreHostKey", + "baseName": "insecureIgnoreHostKey", + "type": "boolean", + "format": "" + }, + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "repo", + "baseName": "repo", + "type": "string", + "format": "" + }, + { + "name": "revision", + "baseName": "revision", + "type": "string", + "format": "" + }, + { + "name": "singleBranch", + "baseName": "singleBranch", + "type": "boolean", + "format": "" + }, + { + "name": "sshPrivateKeySecret", + "baseName": "sshPrivateKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1GitArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts new file mode 100644 index 0000000..8e36ae9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* HDFSArtifact is the location of an HDFS artifact +*/ +export class IoArgoprojWorkflowV1alpha1HDFSArtifact { + /** + * Addresses is accessible addresses of HDFS name nodes + */ + 'addresses'?: Array; + /** + * Force copies a file forcibly even if it exists + */ + 'force'?: boolean; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + /** + * Path is a file path in HDFS + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "force", + "baseName": "force", + "type": "boolean", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HDFSArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts new file mode 100644 index 0000000..2de0d2e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* HDFSArtifactRepository defines the controller configuration for an HDFS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1HDFSArtifactRepository { + /** + * Addresses is accessible addresses of HDFS name nodes + */ + 'addresses'?: Array; + /** + * Force copies a file forcibly even if it exists + */ + 'force'?: boolean; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + /** + * PathFormat is defines the format of path to store a file. Can reference workflow variables + */ + 'pathFormat'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "force", + "baseName": "force", + "type": "boolean", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "pathFormat", + "baseName": "pathFormat", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTP.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTP.ts new file mode 100644 index 0000000..145a4be --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTP.ts @@ -0,0 +1,107 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTP { + /** + * Body is content of the HTTP Request + */ + 'body'?: string; + 'bodyFrom'?: IoArgoprojWorkflowV1alpha1HTTPBodySource; + /** + * Headers are an optional list of headers to send with HTTP requests + */ + 'headers'?: Array; + /** + * InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client + */ + 'insecureSkipVerify'?: boolean; + /** + * Method is HTTP methods for HTTP Request + */ + 'method'?: string; + /** + * SuccessCondition is an expression if evaluated to true is considered successful + */ + 'successCondition'?: string; + /** + * TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds + */ + 'timeoutSeconds'?: number; + /** + * URL of the HTTP Request + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "body", + "baseName": "body", + "type": "string", + "format": "" + }, + { + "name": "bodyFrom", + "baseName": "bodyFrom", + "type": "IoArgoprojWorkflowV1alpha1HTTPBodySource", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "Array", + "format": "" + }, + { + "name": "insecureSkipVerify", + "baseName": "insecureSkipVerify", + "type": "boolean", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "successCondition", + "baseName": "successCondition", + "type": "string", + "format": "" + }, + { + "name": "timeoutSeconds", + "baseName": "timeoutSeconds", + "type": "number", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTP.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts new file mode 100644 index 0000000..88e0da2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts @@ -0,0 +1,60 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { HttpFile } from '../http/http'; + +/** +* HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container +*/ +export class IoArgoprojWorkflowV1alpha1HTTPArtifact { + 'auth'?: IoArgoprojWorkflowV1alpha1HTTPAuth; + /** + * Headers are an optional list of headers to send with HTTP requests for artifacts + */ + 'headers'?: Array; + /** + * URL of the artifact + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojWorkflowV1alpha1HTTPAuth", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "Array", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTPArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts new file mode 100644 index 0000000..bbf736c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1HTTPAuth { + 'basicAuth'?: IoArgoprojWorkflowV1alpha1BasicAuth; + 'clientCert'?: IoArgoprojWorkflowV1alpha1ClientCertAuth; + 'oauth2'?: IoArgoprojWorkflowV1alpha1OAuth2Auth; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basicAuth", + "baseName": "basicAuth", + "type": "IoArgoprojWorkflowV1alpha1BasicAuth", + "format": "" + }, + { + "name": "clientCert", + "baseName": "clientCert", + "type": "IoArgoprojWorkflowV1alpha1ClientCertAuth", + "format": "" + }, + { + "name": "oauth2", + "baseName": "oauth2", + "type": "IoArgoprojWorkflowV1alpha1OAuth2Auth", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTPAuth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts new file mode 100644 index 0000000..ad02c04 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HTTPBodySource contains the source of the HTTP body. +*/ +export class IoArgoprojWorkflowV1alpha1HTTPBodySource { + 'bytes'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bytes", + "baseName": "bytes", + "type": "string", + "format": "byte" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTPBodySource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts new file mode 100644 index 0000000..d821ec6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTPHeader { + 'name': string; + 'value'?: string; + 'valueFrom'?: IoArgoprojWorkflowV1alpha1HTTPHeaderSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojWorkflowV1alpha1HTTPHeaderSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTPHeader.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts new file mode 100644 index 0000000..107330f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTPHeaderSource { + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1HTTPHeaderSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Header.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Header.ts new file mode 100644 index 0000000..e391e67 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Header.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Header indicate a key-value request header to be used when fetching artifacts over HTTP +*/ +export class IoArgoprojWorkflowV1alpha1Header { + /** + * Name is the header name + */ + 'name': string; + /** + * Value is the literal value to use for the header + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Header.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Histogram.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Histogram.ts new file mode 100644 index 0000000..9b65283 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Histogram.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Histogram is a Histogram prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Histogram { + /** + * Buckets is a list of bucket divisors for the histogram + */ + 'buckets': Array; + /** + * Value is the value of the metric + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "buckets", + "baseName": "buckets", + "type": "Array", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Histogram.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts new file mode 100644 index 0000000..3904eda --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts @@ -0,0 +1,65 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1InfoResponse { + 'columns'?: Array; + 'links'?: Array; + 'managedNamespace'?: string; + 'modals'?: { [key: string]: boolean; }; + 'navColor'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "columns", + "baseName": "columns", + "type": "Array", + "format": "" + }, + { + "name": "links", + "baseName": "links", + "type": "Array", + "format": "" + }, + { + "name": "managedNamespace", + "baseName": "managedNamespace", + "type": "string", + "format": "" + }, + { + "name": "modals", + "baseName": "modals", + "type": "{ [key: string]: boolean; }", + "format": "" + }, + { + "name": "navColor", + "baseName": "navColor", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1InfoResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Inputs.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Inputs.ts new file mode 100644 index 0000000..d1a832a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Inputs.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another +*/ +export class IoArgoprojWorkflowV1alpha1Inputs { + /** + * Artifact are a list of artifacts passed as inputs + */ + 'artifacts'?: Array; + /** + * Parameters are a list of parameters passed as inputs + */ + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Inputs.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts new file mode 100644 index 0000000..fe5a6a0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* LabelKeys is list of keys +*/ +export class IoArgoprojWorkflowV1alpha1LabelKeys { + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LabelKeys.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts new file mode 100644 index 0000000..74498aa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LabelValueFrom { + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LabelValueFrom.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValues.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValues.ts new file mode 100644 index 0000000..71a75f7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LabelValues.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Labels is list of workflow labels +*/ +export class IoArgoprojWorkflowV1alpha1LabelValues { + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LabelValues.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts new file mode 100644 index 0000000..f2634f8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LifecycleHook { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + /** + * 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 + */ + 'expression'?: string; + /** + * Template is the name of the template to execute by the hook + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LifecycleHook.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Link.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Link.ts new file mode 100644 index 0000000..1b9a2db --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Link.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A link to another app. +*/ +export class IoArgoprojWorkflowV1alpha1Link { + /** + * The name of the link, E.g. \"Workflow Logs\" or \"Pod Logs\" + */ + 'name': string; + /** + * \"workflow\", \"pod\", \"pod-logs\", \"event-source-logs\", \"sensor-logs\", \"workflow-list\" or \"chat\" + */ + 'scope': string; + /** + * 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}\" + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "scope", + "baseName": "scope", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Link.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts new file mode 100644 index 0000000..c75359a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest { + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LogEntry.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LogEntry.ts new file mode 100644 index 0000000..b0228d6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1LogEntry.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LogEntry { + 'content'?: string; + 'podName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "content", + "baseName": "content", + "type": "string", + "format": "" + }, + { + "name": "podName", + "baseName": "podName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1LogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts new file mode 100644 index 0000000..1392d94 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ManifestFrom { + 'artifact': IoArgoprojWorkflowV1alpha1Artifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifact", + "baseName": "artifact", + "type": "IoArgoprojWorkflowV1alpha1Artifact", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ManifestFrom.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts new file mode 100644 index 0000000..a2ee950 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MemoizationStatus is the status of this memoized node +*/ +export class IoArgoprojWorkflowV1alpha1MemoizationStatus { + /** + * Cache is the name of the cache that was used + */ + 'cacheName': string; + /** + * Hit indicates whether this node was created from a cache entry + */ + 'hit': boolean; + /** + * Key is the name of the key used for this node\'s cache + */ + 'key': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cacheName", + "baseName": "cacheName", + "type": "string", + "format": "" + }, + { + "name": "hit", + "baseName": "hit", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1MemoizationStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Memoize.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Memoize.ts new file mode 100644 index 0000000..3415cbb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Memoize.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { HttpFile } from '../http/http'; + +/** +* Memoization enables caching for the Outputs of the template +*/ +export class IoArgoprojWorkflowV1alpha1Memoize { + 'cache': IoArgoprojWorkflowV1alpha1Cache; + /** + * Key is the key to use as the caching key + */ + 'key': string; + /** + * 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. + */ + 'maxAge': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cache", + "baseName": "cache", + "type": "IoArgoprojWorkflowV1alpha1Cache", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "maxAge", + "baseName": "maxAge", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Memoize.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metadata.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metadata.ts new file mode 100644 index 0000000..13ee38f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metadata.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Pod metdata +*/ +export class IoArgoprojWorkflowV1alpha1Metadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Metadata.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts new file mode 100644 index 0000000..1a823b6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MetricLabel is a single label for a prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1MetricLabel { + 'key': string; + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1MetricLabel.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metrics.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metrics.ts new file mode 100644 index 0000000..37836d4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Metrics.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { HttpFile } from '../http/http'; + +/** +* Metrics are a list of metrics emitted from a Workflow/Template +*/ +export class IoArgoprojWorkflowV1alpha1Metrics { + /** + * Prometheus is a list of prometheus metrics to be emitted + */ + 'prometheus': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prometheus", + "baseName": "prometheus", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Metrics.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Mutex.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Mutex.ts new file mode 100644 index 0000000..dce7d40 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Mutex.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Mutex holds Mutex configuration +*/ +export class IoArgoprojWorkflowV1alpha1Mutex { + /** + * name of the mutex + */ + 'name'?: string; + /** + * Namespace is the namespace of the mutex, default: [namespace of workflow] + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Mutex.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts new file mode 100644 index 0000000..e3296f8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MutexHolding describes the mutex and the object which is holding it. +*/ +export class IoArgoprojWorkflowV1alpha1MutexHolding { + /** + * Holder is a reference to the object which holds the Mutex. Holding Scenario: 1. Current workflow\'s NodeID which is holding the lock. e.g: ${NodeID} Waiting Scenario: 1. Current workflow or other workflow NodeID which is holding the lock. e.g: ${WorkflowName}/${NodeID} + */ + 'holder'?: string; + /** + * Reference for the mutex e.g: ${namespace}/mutex/${mutexName} + */ + 'mutex'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holder", + "baseName": "holder", + "type": "string", + "format": "" + }, + { + "name": "mutex", + "baseName": "mutex", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1MutexHolding.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts new file mode 100644 index 0000000..b0163b7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { HttpFile } from '../http/http'; + +/** +* MutexStatus contains which objects hold mutex locks, and which objects this workflow is waiting on to release locks. +*/ +export class IoArgoprojWorkflowV1alpha1MutexStatus { + /** + * Holding is a list of mutexes and their respective objects that are held by mutex lock for this io.argoproj.workflow.v1alpha1. + */ + 'holding'?: Array; + /** + * Waiting is a list of mutexes and their respective objects this workflow is waiting for. + */ + 'waiting'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holding", + "baseName": "holding", + "type": "Array", + "format": "" + }, + { + "name": "waiting", + "baseName": "waiting", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1MutexStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeResult.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeResult.ts new file mode 100644 index 0000000..c3ad6a0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeResult.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1NodeResult { + 'message'?: string; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + 'phase'?: string; + 'progress'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1NodeResult.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts new file mode 100644 index 0000000..2d88d16 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts @@ -0,0 +1,261 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* NodeStatus contains status information about an individual node in the workflow +*/ +export class IoArgoprojWorkflowV1alpha1NodeStatus { + /** + * BoundaryID indicates the node ID of the associated template root node in which this node belongs to + */ + 'boundaryID'?: string; + /** + * Children is a list of child node IDs + */ + 'children'?: Array; + /** + * Daemoned tracks whether or not this node was daemoned and need to be terminated + */ + 'daemoned'?: boolean; + /** + * DisplayName is a human readable representation of the node. Unique within a template boundary + */ + 'displayName'?: string; + /** + * EstimatedDuration in seconds. + */ + 'estimatedDuration'?: number; + /** + * 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. + */ + 'finishedAt'?: Date; + /** + * HostNodeName name of the Kubernetes node on which the Pod is running, if applicable + */ + 'hostNodeName'?: string; + /** + * 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 + */ + 'id': string; + 'inputs'?: IoArgoprojWorkflowV1alpha1Inputs; + 'memoizationStatus'?: IoArgoprojWorkflowV1alpha1MemoizationStatus; + /** + * A human readable message indicating details about why the node is in this condition. + */ + 'message'?: string; + /** + * Name is unique name in the node tree used to generate the node ID + */ + 'name': string; + /** + * 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. In 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. + */ + 'outboundNodes'?: Array; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * 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. + */ + 'phase'?: string; + /** + * PodIP captures the IP of the pod for daemoned steps + */ + 'podIP'?: string; + /** + * Progress to completion + */ + 'progress'?: string; + /** + * ResourcesDuration is indicative, but not accurate, resource duration. This is populated when the nodes completes. + */ + 'resourcesDuration'?: { [key: string]: number; }; + /** + * 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. + */ + 'startedAt'?: Date; + 'synchronizationStatus'?: IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus; + /** + * TemplateName is the template name which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup) + */ + 'templateName'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * TemplateScope is the template scope in which the template of this node was retrieved. + */ + 'templateScope'?: string; + /** + * Type indicates type of node + */ + 'type': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "boundaryID", + "baseName": "boundaryID", + "type": "string", + "format": "" + }, + { + "name": "children", + "baseName": "children", + "type": "Array", + "format": "" + }, + { + "name": "daemoned", + "baseName": "daemoned", + "type": "boolean", + "format": "" + }, + { + "name": "displayName", + "baseName": "displayName", + "type": "string", + "format": "" + }, + { + "name": "estimatedDuration", + "baseName": "estimatedDuration", + "type": "number", + "format": "" + }, + { + "name": "finishedAt", + "baseName": "finishedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "hostNodeName", + "baseName": "hostNodeName", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "inputs", + "baseName": "inputs", + "type": "IoArgoprojWorkflowV1alpha1Inputs", + "format": "" + }, + { + "name": "memoizationStatus", + "baseName": "memoizationStatus", + "type": "IoArgoprojWorkflowV1alpha1MemoizationStatus", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "outboundNodes", + "baseName": "outboundNodes", + "type": "Array", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "podIP", + "baseName": "podIP", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + }, + { + "name": "resourcesDuration", + "baseName": "resourcesDuration", + "type": "{ [key: string]: number; }", + "format": "int64" + }, + { + "name": "startedAt", + "baseName": "startedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "synchronizationStatus", + "baseName": "synchronizationStatus", + "type": "IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus", + "format": "" + }, + { + "name": "templateName", + "baseName": "templateName", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "templateScope", + "baseName": "templateScope", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1NodeStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts new file mode 100644 index 0000000..17017f9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* NodeSynchronizationStatus stores the status of a node +*/ +export class IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus { + /** + * Waiting is the name of the lock that this node is waiting for + */ + 'waiting'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "waiting", + "baseName": "waiting", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts new file mode 100644 index 0000000..41cd302 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OAuth2Auth holds all information for client authentication via OAuth2 tokens +*/ +export class IoArgoprojWorkflowV1alpha1OAuth2Auth { + 'clientIDSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientSecretSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'endpointParams'?: Array; + 'scopes'?: Array; + 'tokenURLSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientIDSecret", + "baseName": "clientIDSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientSecretSecret", + "baseName": "clientSecretSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpointParams", + "baseName": "endpointParams", + "type": "Array", + "format": "" + }, + { + "name": "scopes", + "baseName": "scopes", + "type": "Array", + "format": "" + }, + { + "name": "tokenURLSecret", + "baseName": "tokenURLSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1OAuth2Auth.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts new file mode 100644 index 0000000..2543fe8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EndpointParam is for requesting optional fields that should be sent in the oauth request +*/ +export class IoArgoprojWorkflowV1alpha1OAuth2EndpointParam { + /** + * Name is the header name + */ + 'key': string; + /** + * Value is the literal value to use for the header + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts new file mode 100644 index 0000000..bd6a014 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OSSArtifact is the location of an Alibaba Cloud OSS artifact +*/ +export class IoArgoprojWorkflowV1alpha1OSSArtifact { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn\'t exist + */ + 'createBucketIfNotPresent'?: boolean; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Key is the path in the bucket where the artifact resides + */ + 'key': string; + 'lifecycleRule'?: IoArgoprojWorkflowV1alpha1OSSLifecycleRule; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * SecurityToken is the user\'s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm + */ + 'securityToken'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "lifecycleRule", + "baseName": "lifecycleRule", + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "securityToken", + "baseName": "securityToken", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1OSSArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts new file mode 100644 index 0000000..2919a7a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OSSArtifactRepository defines the controller configuration for an OSS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1OSSArtifactRepository { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn\'t exist + */ + 'createBucketIfNotPresent'?: boolean; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + 'lifecycleRule'?: IoArgoprojWorkflowV1alpha1OSSLifecycleRule; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * SecurityToken is the user\'s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm + */ + 'securityToken'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "lifecycleRule", + "baseName": "lifecycleRule", + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "securityToken", + "baseName": "securityToken", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1OSSArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts new file mode 100644 index 0000000..a69c5d2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* OSSLifecycleRule specifies how to manage bucket\'s lifecycle +*/ +export class IoArgoprojWorkflowV1alpha1OSSLifecycleRule { + /** + * MarkDeletionAfterDays is the number of days before we delete objects in the bucket + */ + 'markDeletionAfterDays'?: number; + /** + * MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type + */ + 'markInfrequentAccessAfterDays'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "markDeletionAfterDays", + "baseName": "markDeletionAfterDays", + "type": "number", + "format": "" + }, + { + "name": "markInfrequentAccessAfterDays", + "baseName": "markInfrequentAccessAfterDays", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1OSSLifecycleRule.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Outputs.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Outputs.ts new file mode 100644 index 0000000..245e238 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Outputs.ts @@ -0,0 +1,73 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Outputs hold parameters, artifacts, and results from a step +*/ +export class IoArgoprojWorkflowV1alpha1Outputs { + /** + * Artifacts holds the list of output artifacts produced by a step + */ + 'artifacts'?: Array; + /** + * ExitCode holds the exit code of a script template + */ + 'exitCode'?: string; + /** + * Parameters holds the list of output parameters produced by a step + */ + 'parameters'?: Array; + /** + * Result holds the result (stdout) of a script template + */ + 'result'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "exitCode", + "baseName": "exitCode", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Outputs.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Parameter.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Parameter.ts new file mode 100644 index 0000000..01e2c01 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Parameter.ts @@ -0,0 +1,99 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { HttpFile } from '../http/http'; + +/** +* Parameter indicate a passed string parameter to a service template with an optional default value +*/ +export class IoArgoprojWorkflowV1alpha1Parameter { + /** + * Default is the default value to use for an input parameter if a value was not supplied + */ + '_default'?: string; + /** + * Description is the parameter description + */ + 'description'?: string; + /** + * Enum holds a list of string values to choose from, for the actual value of the parameter + */ + '_enum'?: Array; + /** + * 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 + */ + 'globalName'?: string; + /** + * Name is the parameter name + */ + 'name': string; + /** + * 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 + */ + 'value'?: string; + 'valueFrom'?: IoArgoprojWorkflowV1alpha1ValueFrom; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "_default", + "baseName": "default", + "type": "string", + "format": "" + }, + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "_enum", + "baseName": "enum", + "type": "Array", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojWorkflowV1alpha1ValueFrom", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Parameter.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1PodGC.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1PodGC.ts new file mode 100644 index 0000000..ae18733 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1PodGC.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* PodGC describes how to delete completed pods as they complete +*/ +export class IoArgoprojWorkflowV1alpha1PodGC { + 'labelSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "labelSelector", + "baseName": "labelSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1PodGC.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Prometheus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Prometheus.ts new file mode 100644 index 0000000..f743779 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Prometheus.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Prometheus is a prometheus metric to be emitted +*/ +export class IoArgoprojWorkflowV1alpha1Prometheus { + 'counter'?: IoArgoprojWorkflowV1alpha1Counter; + 'gauge'?: IoArgoprojWorkflowV1alpha1Gauge; + /** + * Help is a string that describes the metric + */ + 'help': string; + 'histogram'?: IoArgoprojWorkflowV1alpha1Histogram; + /** + * Labels is a list of metric labels + */ + 'labels'?: Array; + /** + * Name is the name of the metric + */ + 'name': string; + /** + * When is a conditional statement that decides when to emit the metric + */ + 'when'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "counter", + "baseName": "counter", + "type": "IoArgoprojWorkflowV1alpha1Counter", + "format": "" + }, + { + "name": "gauge", + "baseName": "gauge", + "type": "IoArgoprojWorkflowV1alpha1Gauge", + "format": "" + }, + { + "name": "help", + "baseName": "help", + "type": "string", + "format": "" + }, + { + "name": "histogram", + "baseName": "histogram", + "type": "IoArgoprojWorkflowV1alpha1Histogram", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Prometheus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts new file mode 100644 index 0000000..135c930 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* RawArtifact allows raw string content to be placed as an artifact in a container +*/ +export class IoArgoprojWorkflowV1alpha1RawArtifact { + /** + * Data is the string contents of the artifact + */ + 'data': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1RawArtifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts new file mode 100644 index 0000000..284708f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { HttpFile } from '../http/http'; + +/** +* ResourceTemplate is a template subtype to manipulate kubernetes resources +*/ +export class IoArgoprojWorkflowV1alpha1ResourceTemplate { + /** + * Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch + */ + 'action': string; + /** + * FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed + */ + 'failureCondition'?: string; + /** + * Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [ \"--validate=false\" # disable resource validation ] + */ + 'flags'?: Array; + /** + * Manifest contains the kubernetes manifest + */ + 'manifest'?: string; + 'manifestFrom'?: IoArgoprojWorkflowV1alpha1ManifestFrom; + /** + * MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json + */ + 'mergeStrategy'?: string; + /** + * SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. + */ + 'setOwnerReference'?: boolean; + /** + * SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step + */ + 'successCondition'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "action", + "baseName": "action", + "type": "string", + "format": "" + }, + { + "name": "failureCondition", + "baseName": "failureCondition", + "type": "string", + "format": "" + }, + { + "name": "flags", + "baseName": "flags", + "type": "Array", + "format": "" + }, + { + "name": "manifest", + "baseName": "manifest", + "type": "string", + "format": "" + }, + { + "name": "manifestFrom", + "baseName": "manifestFrom", + "type": "IoArgoprojWorkflowV1alpha1ManifestFrom", + "format": "" + }, + { + "name": "mergeStrategy", + "baseName": "mergeStrategy", + "type": "string", + "format": "" + }, + { + "name": "setOwnerReference", + "baseName": "setOwnerReference", + "type": "boolean", + "format": "" + }, + { + "name": "successCondition", + "baseName": "successCondition", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ResourceTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts new file mode 100644 index 0000000..e619a8a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest { + 'memoized'?: boolean; + 'name'?: string; + 'namespace'?: string; + 'parameters'?: Array; + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "memoized", + "baseName": "memoized", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts new file mode 100644 index 0000000..75adb27 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* RetryAffinity prevents running steps on the same host. +*/ +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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeAntiAffinity", + "baseName": "nodeAntiAffinity", + "type": "any", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1RetryAffinity.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts new file mode 100644 index 0000000..9eacb51 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'parameters'?: Array; + 'restartSuccessful'?: boolean; + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "restartSuccessful", + "baseName": "restartSuccessful", + "type": "boolean", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts new file mode 100644 index 0000000..e3fbaa4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts @@ -0,0 +1,74 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { HttpFile } from '../http/http'; + +/** +* RetryStrategy provides controls on how to retry a workflow step +*/ +export class IoArgoprojWorkflowV1alpha1RetryStrategy { + 'affinity'?: IoArgoprojWorkflowV1alpha1RetryAffinity; + 'backoff'?: IoArgoprojWorkflowV1alpha1Backoff; + /** + * 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 + */ + 'expression'?: string; + 'limit'?: string; + /** + * RetryPolicy is a policy of NodePhase statuses that will be retried + */ + 'retryPolicy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "affinity", + "baseName": "affinity", + "type": "IoArgoprojWorkflowV1alpha1RetryAffinity", + "format": "" + }, + { + "name": "backoff", + "baseName": "backoff", + "type": "IoArgoprojWorkflowV1alpha1Backoff", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "limit", + "baseName": "limit", + "type": "string", + "format": "" + }, + { + "name": "retryPolicy", + "baseName": "retryPolicy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1RetryStrategy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts new file mode 100644 index 0000000..a17509c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts @@ -0,0 +1,132 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* S3Artifact is the location of an S3 artifact +*/ +export class IoArgoprojWorkflowV1alpha1S3Artifact { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + 'createBucketIfNotPresent'?: IoArgoprojWorkflowV1alpha1CreateS3BucketOptions; + 'encryptionOptions'?: IoArgoprojWorkflowV1alpha1S3EncryptionOptions; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Insecure will connect to the service with TLS + */ + 'insecure'?: boolean; + /** + * Key is the key in the bucket where the artifact resides + */ + 'key'?: string; + /** + * Region contains the optional bucket region + */ + 'region'?: string; + /** + * RoleARN is the Amazon Resource Name (ARN) of the role to assume. + */ + 'roleARN'?: string; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", + "format": "" + }, + { + "name": "encryptionOptions", + "baseName": "encryptionOptions", + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1S3Artifact.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts new file mode 100644 index 0000000..3bbea4a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* S3ArtifactRepository defines the controller configuration for an S3 artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1S3ArtifactRepository { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + 'createBucketIfNotPresent'?: IoArgoprojWorkflowV1alpha1CreateS3BucketOptions; + 'encryptionOptions'?: IoArgoprojWorkflowV1alpha1S3EncryptionOptions; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Insecure will connect to the service with TLS + */ + 'insecure'?: boolean; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + /** + * KeyPrefix is prefix used as part of the bucket key in which the controller will store artifacts. DEPRECATED. Use KeyFormat instead + */ + 'keyPrefix'?: string; + /** + * Region contains the optional bucket region + */ + 'region'?: string; + /** + * RoleARN is the Amazon Resource Name (ARN) of the role to assume. + */ + 'roleARN'?: string; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", + "format": "" + }, + { + "name": "encryptionOptions", + "baseName": "encryptionOptions", + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "keyPrefix", + "baseName": "keyPrefix", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1S3ArtifactRepository.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts new file mode 100644 index 0000000..b6c9743 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* S3EncryptionOptions used to determine encryption options during s3 operations +*/ +export class IoArgoprojWorkflowV1alpha1S3EncryptionOptions { + /** + * EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used + */ + 'enableEncryption'?: boolean; + /** + * 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 + */ + 'kmsEncryptionContext'?: string; + /** + * KMSKeyId tells the driver to encrypt the object using the specified KMS Key. + */ + 'kmsKeyId'?: string; + 'serverSideCustomerKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "enableEncryption", + "baseName": "enableEncryption", + "type": "boolean", + "format": "" + }, + { + "name": "kmsEncryptionContext", + "baseName": "kmsEncryptionContext", + "type": "string", + "format": "" + }, + { + "name": "kmsKeyId", + "baseName": "kmsKeyId", + "type": "string", + "format": "" + }, + { + "name": "serverSideCustomerKeySecret", + "baseName": "serverSideCustomerKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1S3EncryptionOptions.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts new file mode 100644 index 0000000..9ee5181 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts @@ -0,0 +1,252 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ScriptTemplate is a template subtype to enable scripting through code steps +*/ +export class IoArgoprojWorkflowV1alpha1ScriptTemplate { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image': string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name'?: string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + /** + * Source contains the source code of the script to execute + */ + 'source': string; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ScriptTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts new file mode 100644 index 0000000..aefe4e3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1SemaphoreHolding { + /** + * Holders stores the list of current holder names in the io.argoproj.workflow.v1alpha1. + */ + 'holders'?: Array; + /** + * Semaphore stores the semaphore name. + */ + 'semaphore'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holders", + "baseName": "holders", + "type": "Array", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SemaphoreHolding.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts new file mode 100644 index 0000000..58dd6d6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* SemaphoreRef is a reference of Semaphore +*/ +export class IoArgoprojWorkflowV1alpha1SemaphoreRef { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + /** + * Namespace is the namespace of the configmap, default: [namespace of workflow] + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SemaphoreRef.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts new file mode 100644 index 0000000..8714829 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1SemaphoreStatus { + /** + * Holding stores the list of resource acquired synchronization lock for workflows. + */ + 'holding'?: Array; + /** + * Waiting indicates the list of current synchronization lock holders. + */ + 'waiting'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holding", + "baseName": "holding", + "type": "Array", + "format": "" + }, + { + "name": "waiting", + "baseName": "waiting", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SemaphoreStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Sequence.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Sequence.ts new file mode 100644 index 0000000..e308e07 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Sequence.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Sequence expands a workflow step into numeric range +*/ +export class IoArgoprojWorkflowV1alpha1Sequence { + 'count'?: string; + 'end'?: string; + /** + * Format is a printf format string to format the value in the sequence + */ + 'format'?: string; + 'start'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "count", + "baseName": "count", + "type": "string", + "format": "" + }, + { + "name": "end", + "baseName": "end", + "type": "string", + "format": "" + }, + { + "name": "format", + "baseName": "format", + "type": "string", + "format": "" + }, + { + "name": "start", + "baseName": "start", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Sequence.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Submit.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Submit.ts new file mode 100644 index 0000000..3c26139 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Submit.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1Submit { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'workflowTemplateRef': IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "workflowTemplateRef", + "baseName": "workflowTemplateRef", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Submit.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts new file mode 100644 index 0000000..9e82066 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts @@ -0,0 +1,149 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { HttpFile } from '../http/http'; + +/** +* SubmitOpts are workflow submission options +*/ +export class IoArgoprojWorkflowV1alpha1SubmitOpts { + /** + * Annotations adds to metadata.labels + */ + 'annotations'?: string; + /** + * DryRun validates the workflow on the client-side without creating it. This option is not supported in API + */ + 'dryRun'?: boolean; + /** + * Entrypoint overrides spec.entrypoint + */ + 'entryPoint'?: string; + /** + * GenerateName overrides metadata.generateName + */ + 'generateName'?: string; + /** + * Labels adds to metadata.labels + */ + 'labels'?: string; + /** + * Name overrides metadata.name + */ + 'name'?: string; + 'ownerReference'?: IoK8sApimachineryPkgApisMetaV1OwnerReference; + /** + * Parameters passes input parameters to workflow + */ + 'parameters'?: Array; + /** + * Set the podPriorityClassName of the workflow + */ + 'podPriorityClassName'?: string; + /** + * Priority is used if controller is configured to process limited number of workflows in parallel, higher priority workflows are processed first. + */ + 'priority'?: number; + /** + * ServerDryRun validates the workflow on the server-side without creating it + */ + 'serverDryRun'?: boolean; + /** + * ServiceAccount runs all pods in the workflow using specified ServiceAccount. + */ + 'serviceAccount'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "string", + "format": "" + }, + { + "name": "dryRun", + "baseName": "dryRun", + "type": "boolean", + "format": "" + }, + { + "name": "entryPoint", + "baseName": "entryPoint", + "type": "string", + "format": "" + }, + { + "name": "generateName", + "baseName": "generateName", + "type": "string", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ownerReference", + "baseName": "ownerReference", + "type": "IoK8sApimachineryPkgApisMetaV1OwnerReference", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "podPriorityClassName", + "baseName": "podPriorityClassName", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "serverDryRun", + "baseName": "serverDryRun", + "type": "boolean", + "format": "" + }, + { + "name": "serviceAccount", + "baseName": "serviceAccount", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SubmitOpts.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts new file mode 100644 index 0000000..d8dbfe9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time +*/ +export class IoArgoprojWorkflowV1alpha1SuspendTemplate { + /** + * 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\" + */ + 'duration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SuspendTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Synchronization.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Synchronization.ts new file mode 100644 index 0000000..ffee9d3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Synchronization.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { HttpFile } from '../http/http'; + +/** +* Synchronization holds synchronization lock configuration +*/ +export class IoArgoprojWorkflowV1alpha1Synchronization { + 'mutex'?: IoArgoprojWorkflowV1alpha1Mutex; + 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mutex", + "baseName": "mutex", + "type": "IoArgoprojWorkflowV1alpha1Mutex", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "IoArgoprojWorkflowV1alpha1SemaphoreRef", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Synchronization.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts new file mode 100644 index 0000000..9b1607a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { HttpFile } from '../http/http'; + +/** +* SynchronizationStatus stores the status of semaphore and mutex. +*/ +export class IoArgoprojWorkflowV1alpha1SynchronizationStatus { + 'mutex'?: IoArgoprojWorkflowV1alpha1MutexStatus; + 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mutex", + "baseName": "mutex", + "type": "IoArgoprojWorkflowV1alpha1MutexStatus", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "IoArgoprojWorkflowV1alpha1SemaphoreStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1SynchronizationStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts new file mode 100644 index 0000000..2ec13d0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed +*/ +export class IoArgoprojWorkflowV1alpha1TTLStrategy { + /** + * SecondsAfterCompletion is the number of seconds to live after completion + */ + 'secondsAfterCompletion'?: number; + /** + * SecondsAfterFailure is the number of seconds to live after failure + */ + 'secondsAfterFailure'?: number; + /** + * SecondsAfterSuccess is the number of seconds to live after success + */ + 'secondsAfterSuccess'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "secondsAfterCompletion", + "baseName": "secondsAfterCompletion", + "type": "number", + "format": "" + }, + { + "name": "secondsAfterFailure", + "baseName": "secondsAfterFailure", + "type": "number", + "format": "" + }, + { + "name": "secondsAfterSuccess", + "baseName": "secondsAfterSuccess", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1TTLStrategy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts new file mode 100644 index 0000000..6741699 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TarStrategy will tar and gzip the file or directory when saving +*/ +export class IoArgoprojWorkflowV1alpha1TarStrategy { + /** + * CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression. + */ + 'compressionLevel'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "compressionLevel", + "baseName": "compressionLevel", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1TarStrategy.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Template.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Template.ts new file mode 100644 index 0000000..ced1f67 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Template.ts @@ -0,0 +1,385 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Template is a reusable and composable unit of execution in a workflow +*/ +export class IoArgoprojWorkflowV1alpha1Template { + 'activeDeadlineSeconds'?: string; + 'affinity'?: IoK8sApiCoreV1Affinity; + 'archiveLocation'?: IoArgoprojWorkflowV1alpha1ArtifactLocation; + /** + * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. + */ + 'automountServiceAccountToken'?: boolean; + 'container'?: IoK8sApiCoreV1Container; + 'containerSet'?: IoArgoprojWorkflowV1alpha1ContainerSetTemplate; + /** + * Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness + */ + 'daemon'?: boolean; + 'dag'?: IoArgoprojWorkflowV1alpha1DAGTemplate; + 'data'?: IoArgoprojWorkflowV1alpha1Data; + 'executor'?: IoArgoprojWorkflowV1alpha1ExecutorConfig; + /** + * FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this template is expanded with `withItems`, etc. + */ + 'failFast'?: boolean; + /** + * HostAliases is an optional list of hosts and IPs that will be injected into the pod spec + */ + 'hostAliases'?: Array; + 'http'?: IoArgoprojWorkflowV1alpha1HTTP; + /** + * InitContainers is a list of containers which run before the main container. + */ + 'initContainers'?: Array; + 'inputs'?: IoArgoprojWorkflowV1alpha1Inputs; + 'memoize'?: IoArgoprojWorkflowV1alpha1Memoize; + 'metadata'?: IoArgoprojWorkflowV1alpha1Metadata; + 'metrics'?: IoArgoprojWorkflowV1alpha1Metrics; + /** + * Name is the name of the template + */ + 'name'?: string; + /** + * NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level. + */ + 'nodeSelector'?: { [key: string]: string; }; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total. + */ + 'parallelism'?: number; + /** + * Plugin is an Object with exactly one key + */ + 'plugin'?: any; + /** + * PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). + */ + 'podSpecPatch'?: string; + /** + * Priority to apply to workflow pods. + */ + 'priority'?: number; + /** + * PriorityClassName to apply to workflow pods. + */ + 'priorityClassName'?: string; + 'resource'?: IoArgoprojWorkflowV1alpha1ResourceTemplate; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1RetryStrategy; + /** + * If specified, the pod will be dispatched by specified scheduler. Or it will be dispatched by workflow scope scheduler if specified. If neither specified, the pod will be dispatched by default scheduler. + */ + 'schedulerName'?: string; + 'script'?: IoArgoprojWorkflowV1alpha1ScriptTemplate; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + /** + * ServiceAccountName to apply to workflow pods + */ + 'serviceAccountName'?: string; + /** + * Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes + */ + 'sidecars'?: Array; + /** + * Steps define a series of sequential/parallel workflow steps + */ + 'steps'?: Array>; + 'suspend'?: IoArgoprojWorkflowV1alpha1SuspendTemplate; + 'synchronization'?: IoArgoprojWorkflowV1alpha1Synchronization; + /** + * Timeout allows to set the total node execution timeout duration counting from the node\'s start time. This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. + */ + 'timeout'?: string; + /** + * Tolerations to apply to workflow pods. + */ + 'tolerations'?: Array; + /** + * Volumes is a list of volumes that can be mounted by containers in a template. + */ + 'volumes'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "activeDeadlineSeconds", + "baseName": "activeDeadlineSeconds", + "type": "string", + "format": "" + }, + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "archiveLocation", + "baseName": "archiveLocation", + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", + "format": "" + }, + { + "name": "automountServiceAccountToken", + "baseName": "automountServiceAccountToken", + "type": "boolean", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "IoK8sApiCoreV1Container", + "format": "" + }, + { + "name": "containerSet", + "baseName": "containerSet", + "type": "IoArgoprojWorkflowV1alpha1ContainerSetTemplate", + "format": "" + }, + { + "name": "daemon", + "baseName": "daemon", + "type": "boolean", + "format": "" + }, + { + "name": "dag", + "baseName": "dag", + "type": "IoArgoprojWorkflowV1alpha1DAGTemplate", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "IoArgoprojWorkflowV1alpha1Data", + "format": "" + }, + { + "name": "executor", + "baseName": "executor", + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", + "format": "" + }, + { + "name": "failFast", + "baseName": "failFast", + "type": "boolean", + "format": "" + }, + { + "name": "hostAliases", + "baseName": "hostAliases", + "type": "Array", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTP", + "format": "" + }, + { + "name": "initContainers", + "baseName": "initContainers", + "type": "Array", + "format": "" + }, + { + "name": "inputs", + "baseName": "inputs", + "type": "IoArgoprojWorkflowV1alpha1Inputs", + "format": "" + }, + { + "name": "memoize", + "baseName": "memoize", + "type": "IoArgoprojWorkflowV1alpha1Memoize", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "metrics", + "baseName": "metrics", + "type": "IoArgoprojWorkflowV1alpha1Metrics", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "parallelism", + "baseName": "parallelism", + "type": "number", + "format": "" + }, + { + "name": "plugin", + "baseName": "plugin", + "type": "any", + "format": "" + }, + { + "name": "podSpecPatch", + "baseName": "podSpecPatch", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "priorityClassName", + "baseName": "priorityClassName", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "IoArgoprojWorkflowV1alpha1ResourceTemplate", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", + "format": "" + }, + { + "name": "schedulerName", + "baseName": "schedulerName", + "type": "string", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "IoArgoprojWorkflowV1alpha1ScriptTemplate", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "sidecars", + "baseName": "sidecars", + "type": "Array", + "format": "" + }, + { + "name": "steps", + "baseName": "steps", + "type": "Array>", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "IoArgoprojWorkflowV1alpha1SuspendTemplate", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1Synchronization", + "format": "" + }, + { + "name": "timeout", + "baseName": "timeout", + "type": "string", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Template.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts new file mode 100644 index 0000000..3377b98 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TemplateRef is a reference of template resource. +*/ +export class IoArgoprojWorkflowV1alpha1TemplateRef { + /** + * ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate). + */ + 'clusterScope'?: boolean; + /** + * Name is the resource name of the template. + */ + 'name'?: string; + /** + * Template is the name of referred template in the resource. + */ + 'template'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterScope", + "baseName": "clusterScope", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1TemplateRef.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts new file mode 100644 index 0000000..2cdf89d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1TransformationStep { + /** + * Expression defines an expr expression to apply + */ + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1TransformationStep.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts new file mode 100644 index 0000000..c4e9745 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest { + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UserContainer.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UserContainer.ts new file mode 100644 index 0000000..60305a0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1UserContainer.ts @@ -0,0 +1,252 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* UserContainer is a container specified by a user. +*/ +export class IoArgoprojWorkflowV1alpha1UserContainer { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image'?: string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * 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 + */ + 'mirrorVolumeMounts'?: boolean; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name': string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "mirrorVolumeMounts", + "baseName": "mirrorVolumeMounts", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1UserContainer.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts new file mode 100644 index 0000000..3450874 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts @@ -0,0 +1,119 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ValueFrom describes a location in which to obtain the value to a parameter +*/ +export class IoArgoprojWorkflowV1alpha1ValueFrom { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + /** + * Default specifies a value to be used if retrieving the value from the specified source fails + */ + '_default'?: string; + /** + * Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. `payload.message` + */ + 'event'?: string; + /** + * Expression, if defined, is evaluated to specify the value for the parameter + */ + 'expression'?: string; + /** + * JQFilter expression against the resource object in resource templates + */ + 'jqFilter'?: string; + /** + * JSONPath of a resource to retrieve an output parameter value from in resource templates + */ + 'jsonPath'?: string; + /** + * Parameter reference to a step or dag task in which to retrieve an output parameter value from (e.g. \'{{steps.mystep.outputs.myparam}}\') + */ + 'parameter'?: string; + /** + * Path in the container to retrieve an output parameter value from in container templates + */ + 'path'?: string; + /** + * SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc. + */ + 'supplied'?: any; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "_default", + "baseName": "default", + "type": "string", + "format": "" + }, + { + "name": "event", + "baseName": "event", + "type": "string", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "jqFilter", + "baseName": "jqFilter", + "type": "string", + "format": "" + }, + { + "name": "jsonPath", + "baseName": "jsonPath", + "type": "string", + "format": "" + }, + { + "name": "parameter", + "baseName": "parameter", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "supplied", + "baseName": "supplied", + "type": "any", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1ValueFrom.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Version.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Version.ts new file mode 100644 index 0000000..8e92e05 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Version.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Version { + 'buildDate': string; + 'compiler': string; + 'gitCommit': string; + 'gitTag': string; + 'gitTreeState': string; + 'goVersion': string; + 'platform': string; + 'version': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "buildDate", + "baseName": "buildDate", + "type": "string", + "format": "" + }, + { + "name": "compiler", + "baseName": "compiler", + "type": "string", + "format": "" + }, + { + "name": "gitCommit", + "baseName": "gitCommit", + "type": "string", + "format": "" + }, + { + "name": "gitTag", + "baseName": "gitTag", + "type": "string", + "format": "" + }, + { + "name": "gitTreeState", + "baseName": "gitTreeState", + "type": "string", + "format": "" + }, + { + "name": "goVersion", + "baseName": "goVersion", + "type": "string", + "format": "" + }, + { + "name": "platform", + "baseName": "platform", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Version.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts new file mode 100644 index 0000000..966c9a3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* VolumeClaimGC describes how to delete volumes from completed Workflows +*/ +export class IoArgoprojWorkflowV1alpha1VolumeClaimGC { + /** + * Strategy is the strategy to use. One of \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". Defaults to \"OnWorkflowSuccess\" + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1VolumeClaimGC.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Workflow.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Workflow.ts new file mode 100644 index 0000000..b36176b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1Workflow.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Workflow is the definition of a workflow resource +*/ +export class IoArgoprojWorkflowV1alpha1Workflow { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + 'status'?: IoArgoprojWorkflowV1alpha1WorkflowStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojWorkflowV1alpha1WorkflowStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1Workflow.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts new file mode 100644 index 0000000..75ef0c1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + /** + * This field is no longer used. + */ + 'instanceID'?: string; + 'namespace'?: string; + 'serverDryRun'?: boolean; + 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "instanceID", + "baseName": "instanceID", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "serverDryRun", + "baseName": "serverDryRun", + "type": "boolean", + "format": "" + }, + { + "name": "workflow", + "baseName": "workflow", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts new file mode 100644 index 0000000..7cad216 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowEventBinding is the definition of an event resource +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowEventBinding { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowEventBinding.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts new file mode 100644 index 0000000..eff0ebc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowEventBindingList is list of event resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts new file mode 100644 index 0000000..c3b80f1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec { + 'event': IoArgoprojWorkflowV1alpha1Event; + 'submit'?: IoArgoprojWorkflowV1alpha1Submit; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "event", + "baseName": "event", + "type": "IoArgoprojWorkflowV1alpha1Event", + "format": "" + }, + { + "name": "submit", + "baseName": "submit", + "type": "IoArgoprojWorkflowV1alpha1Submit", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts new file mode 100644 index 0000000..2b21e40 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowLevelArtifactGC describes how to delete artifacts from completed Workflows - this spec is used on the Workflow level +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC { + /** + * ForceFinalizerRemoval: if set to true, the finalizer will be removed in the case that Artifact GC fails + */ + 'forceFinalizerRemoval'?: boolean; + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion + */ + 'serviceAccountName'?: string; + /** + * Strategy is the strategy to use. + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "forceFinalizerRemoval", + "baseName": "forceFinalizerRemoval", + "type": "boolean", + "format": "" + }, + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts new file mode 100644 index 0000000..6d4b60f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowLintRequest { + 'namespace'?: string; + 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "workflow", + "baseName": "workflow", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowLintRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts new file mode 100644 index 0000000..5931702 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowList is list of Workflow resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts new file mode 100644 index 0000000..5580c18 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowMetadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + 'labelsFrom'?: { [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labelsFrom", + "baseName": "labelsFrom", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowMetadata.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts new file mode 100644 index 0000000..15ca069 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest { + 'memoized'?: boolean; + 'name'?: string; + 'namespace'?: string; + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "memoized", + "baseName": "memoized", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts new file mode 100644 index 0000000..f633eef --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowResumeRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts new file mode 100644 index 0000000..1cdbc41 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowRetryRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'parameters'?: Array; + 'restartSuccessful'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "restartSuccessful", + "baseName": "restartSuccessful", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts new file mode 100644 index 0000000..8e3504b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSetRequest { + 'message'?: string; + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'outputParameters'?: string; + 'phase'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "outputParameters", + "baseName": "outputParameters", + "type": "string", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowSetRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts new file mode 100644 index 0000000..5786821 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts @@ -0,0 +1,418 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowSpec is the specification of a Workflow. +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowSpec { + /** + * Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the io.argoproj.workflow.v1alpha1. A value of zero is used to terminate a Running workflow + */ + 'activeDeadlineSeconds'?: number; + 'affinity'?: IoK8sApiCoreV1Affinity; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC; + 'artifactRepositoryRef'?: IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef; + /** + * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. + */ + 'automountServiceAccountToken'?: boolean; + 'dnsConfig'?: IoK8sApiCoreV1PodDNSConfig; + /** + * Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are \'ClusterFirstWithHostNet\', \'ClusterFirst\', \'Default\' or \'None\'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to \'ClusterFirstWithHostNet\'. + */ + 'dnsPolicy'?: string; + /** + * Entrypoint is a template reference to the starting point of the io.argoproj.workflow.v1alpha1. + */ + 'entrypoint'?: string; + 'executor'?: IoArgoprojWorkflowV1alpha1ExecutorConfig; + /** + * Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'hostAliases'?: Array; + /** + * Host networking requested for this workflow pod. Default to false. + */ + 'hostNetwork'?: boolean; + /** + * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + */ + 'imagePullSecrets'?: Array; + 'metrics'?: IoArgoprojWorkflowV1alpha1Metrics; + /** + * NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template. + */ + 'nodeSelector'?: { [key: string]: string; }; + /** + * OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary io.argoproj.workflow.v1alpha1. + */ + 'onExit'?: string; + /** + * Parallelism limits the max total parallel pods that can execute at the same time in a workflow + */ + 'parallelism'?: number; + 'podDisruptionBudget'?: IoK8sApiPolicyV1PodDisruptionBudgetSpec; + 'podGC'?: IoArgoprojWorkflowV1alpha1PodGC; + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * Priority to apply to workflow pods. DEPRECATED: Use PodPriorityClassName instead. + */ + 'podPriority'?: number; + /** + * PriorityClassName to apply to workflow pods. + */ + 'podPriorityClassName'?: string; + /** + * PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). + */ + 'podSpecPatch'?: string; + /** + * Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. + */ + 'priority'?: number; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1RetryStrategy; + /** + * Set scheduler name for all pods. Will be overridden if container/script template\'s scheduler name is set. Default scheduler will be used if neither specified. + */ + 'schedulerName'?: string; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + /** + * ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. + */ + 'serviceAccountName'?: string; + /** + * Shutdown will shutdown the workflow according to its ShutdownStrategy + */ + 'shutdown'?: string; + /** + * Suspend will suspend the workflow and prevent execution of any future steps in the workflow + */ + 'suspend'?: boolean; + 'synchronization'?: IoArgoprojWorkflowV1alpha1Synchronization; + 'templateDefaults'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Templates is a list of workflow templates used in a workflow + */ + 'templates'?: Array; + /** + * Tolerations to apply to workflow pods. + */ + 'tolerations'?: Array; + 'ttlStrategy'?: IoArgoprojWorkflowV1alpha1TTLStrategy; + 'volumeClaimGC'?: IoArgoprojWorkflowV1alpha1VolumeClaimGC; + /** + * VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow + */ + 'volumeClaimTemplates'?: Array; + /** + * Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1. + */ + 'volumes'?: Array; + 'workflowMetadata'?: IoArgoprojWorkflowV1alpha1WorkflowMetadata; + 'workflowTemplateRef'?: IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "activeDeadlineSeconds", + "baseName": "activeDeadlineSeconds", + "type": "number", + "format": "" + }, + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC", + "format": "" + }, + { + "name": "artifactRepositoryRef", + "baseName": "artifactRepositoryRef", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef", + "format": "" + }, + { + "name": "automountServiceAccountToken", + "baseName": "automountServiceAccountToken", + "type": "boolean", + "format": "" + }, + { + "name": "dnsConfig", + "baseName": "dnsConfig", + "type": "IoK8sApiCoreV1PodDNSConfig", + "format": "" + }, + { + "name": "dnsPolicy", + "baseName": "dnsPolicy", + "type": "string", + "format": "" + }, + { + "name": "entrypoint", + "baseName": "entrypoint", + "type": "string", + "format": "" + }, + { + "name": "executor", + "baseName": "executor", + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "hostAliases", + "baseName": "hostAliases", + "type": "Array", + "format": "" + }, + { + "name": "hostNetwork", + "baseName": "hostNetwork", + "type": "boolean", + "format": "" + }, + { + "name": "imagePullSecrets", + "baseName": "imagePullSecrets", + "type": "Array", + "format": "" + }, + { + "name": "metrics", + "baseName": "metrics", + "type": "IoArgoprojWorkflowV1alpha1Metrics", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "parallelism", + "baseName": "parallelism", + "type": "number", + "format": "" + }, + { + "name": "podDisruptionBudget", + "baseName": "podDisruptionBudget", + "type": "IoK8sApiPolicyV1PodDisruptionBudgetSpec", + "format": "" + }, + { + "name": "podGC", + "baseName": "podGC", + "type": "IoArgoprojWorkflowV1alpha1PodGC", + "format": "" + }, + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "podPriority", + "baseName": "podPriority", + "type": "number", + "format": "" + }, + { + "name": "podPriorityClassName", + "baseName": "podPriorityClassName", + "type": "string", + "format": "" + }, + { + "name": "podSpecPatch", + "baseName": "podSpecPatch", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", + "format": "" + }, + { + "name": "schedulerName", + "baseName": "schedulerName", + "type": "string", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "shutdown", + "baseName": "shutdown", + "type": "string", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "boolean", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1Synchronization", + "format": "" + }, + { + "name": "templateDefaults", + "baseName": "templateDefaults", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "templates", + "baseName": "templates", + "type": "Array", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "ttlStrategy", + "baseName": "ttlStrategy", + "type": "IoArgoprojWorkflowV1alpha1TTLStrategy", + "format": "" + }, + { + "name": "volumeClaimGC", + "baseName": "volumeClaimGC", + "type": "IoArgoprojWorkflowV1alpha1VolumeClaimGC", + "format": "" + }, + { + "name": "volumeClaimTemplates", + "baseName": "volumeClaimTemplates", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + }, + { + "name": "workflowMetadata", + "baseName": "workflowMetadata", + "type": "IoArgoprojWorkflowV1alpha1WorkflowMetadata", + "format": "" + }, + { + "name": "workflowTemplateRef", + "baseName": "workflowTemplateRef", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts new file mode 100644 index 0000000..2daa79f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts @@ -0,0 +1,205 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowStatus contains overall status information about a workflow +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowStatus { + 'artifactGCStatus'?: IoArgoprojWorkflowV1alpha1ArtGCStatus; + 'artifactRepositoryRef'?: IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus; + /** + * Compressed and base64 decoded Nodes map + */ + 'compressedNodes'?: string; + /** + * Conditions is a list of conditions the Workflow may have + */ + 'conditions'?: Array; + /** + * EstimatedDuration in seconds. + */ + 'estimatedDuration'?: number; + /** + * 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. + */ + 'finishedAt'?: Date; + /** + * A human readable message indicating details about why the workflow is in this condition. + */ + 'message'?: string; + /** + * Nodes is a mapping between a node ID and the node\'s status. + */ + 'nodes'?: { [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }; + /** + * 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. + */ + 'offloadNodeStatusVersion'?: string; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * 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. + */ + 'persistentVolumeClaims'?: Array; + /** + * 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. + */ + 'phase'?: string; + /** + * Progress to completion + */ + 'progress'?: string; + /** + * ResourcesDuration is the total for the workflow + */ + 'resourcesDuration'?: { [key: string]: number; }; + /** + * 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. + */ + 'startedAt'?: Date; + /** + * StoredTemplates is a mapping between a template ref and the node\'s status. + */ + 'storedTemplates'?: { [key: string]: IoArgoprojWorkflowV1alpha1Template; }; + 'storedWorkflowTemplateSpec'?: IoArgoprojWorkflowV1alpha1WorkflowSpec; + 'synchronization'?: IoArgoprojWorkflowV1alpha1SynchronizationStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactGCStatus", + "baseName": "artifactGCStatus", + "type": "IoArgoprojWorkflowV1alpha1ArtGCStatus", + "format": "" + }, + { + "name": "artifactRepositoryRef", + "baseName": "artifactRepositoryRef", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus", + "format": "" + }, + { + "name": "compressedNodes", + "baseName": "compressedNodes", + "type": "string", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "estimatedDuration", + "baseName": "estimatedDuration", + "type": "number", + "format": "" + }, + { + "name": "finishedAt", + "baseName": "finishedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "nodes", + "baseName": "nodes", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }", + "format": "" + }, + { + "name": "offloadNodeStatusVersion", + "baseName": "offloadNodeStatusVersion", + "type": "string", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "persistentVolumeClaims", + "baseName": "persistentVolumeClaims", + "type": "Array", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + }, + { + "name": "resourcesDuration", + "baseName": "resourcesDuration", + "type": "{ [key: string]: number; }", + "format": "int64" + }, + { + "name": "startedAt", + "baseName": "startedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "storedTemplates", + "baseName": "storedTemplates", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", + "format": "" + }, + { + "name": "storedWorkflowTemplateSpec", + "baseName": "storedWorkflowTemplateSpec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1SynchronizationStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts new file mode 100644 index 0000000..2685397 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowStep is a reference to a template to execute in a series of step +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowStep { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'continueOn'?: IoArgoprojWorkflowV1alpha1ContinueOn; + /** + * Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'inline'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Name of the step + */ + 'name'?: string; + /** + * 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. + */ + 'onExit'?: string; + /** + * Template is the name of the template to execute as the step + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * When is an expression in which the step should conditionally execute + */ + 'when'?: string; + /** + * WithItems expands a step into multiple parallel steps from the items in the list + */ + '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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "continueOn", + "baseName": "continueOn", + "type": "IoArgoprojWorkflowV1alpha1ContinueOn", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + }, + { + "name": "withItems", + "baseName": "withItems", + "type": "Array", + "format": "" + }, + { + "name": "withParam", + "baseName": "withParam", + "type": "string", + "format": "" + }, + { + "name": "withSequence", + "baseName": "withSequence", + "type": "IoArgoprojWorkflowV1alpha1Sequence", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowStep.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts new file mode 100644 index 0000000..40db02a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowStopRequest { + 'message'?: string; + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowStopRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts new file mode 100644 index 0000000..b7a679a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest { + 'namespace'?: string; + 'resourceKind'?: string; + 'resourceName'?: string; + 'submitOptions'?: IoArgoprojWorkflowV1alpha1SubmitOpts; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "resourceKind", + "baseName": "resourceKind", + "type": "string", + "format": "" + }, + { + "name": "resourceName", + "baseName": "resourceName", + "type": "string", + "format": "" + }, + { + "name": "submitOptions", + "baseName": "submitOptions", + "type": "IoArgoprojWorkflowV1alpha1SubmitOpts", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts new file mode 100644 index 0000000..176bead --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts new file mode 100644 index 0000000..df5bb03 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec { + 'tasks'?: { [key: string]: IoArgoprojWorkflowV1alpha1Template; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "tasks", + "baseName": "tasks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts new file mode 100644 index 0000000..169c0ac --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus { + 'nodes'?: { [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodes", + "baseName": "nodes", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts new file mode 100644 index 0000000..247fbf2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplate is the definition of a workflow template resource +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplate { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts new file mode 100644 index 0000000..6fd79f2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts new file mode 100644 index 0000000..b125224 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts new file mode 100644 index 0000000..b552475 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplateList is list of WorkflowTemplate resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplateList.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts new file mode 100644 index 0000000..1047f92 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplateRef is a reference to a WorkflowTemplate resource. +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateRef { + /** + * ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate). + */ + 'clusterScope'?: boolean; + /** + * Name is the resource name of the workflow template. + */ + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterScope", + "baseName": "clusterScope", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts new file mode 100644 index 0000000..217d052 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest { + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts new file mode 100644 index 0000000..d609248 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts new file mode 100644 index 0000000..77ebb2f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowWatchEvent { + 'object'?: IoArgoprojWorkflowV1alpha1Workflow; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts new file mode 100644 index 0000000..f8b6f61 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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). + */ + 'partition'?: number; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Affinity.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Affinity.ts new file mode 100644 index 0000000..28d18b5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Affinity.ts @@ -0,0 +1,55 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Affinity is a group of affinity scheduling rules. +*/ +export class IoK8sApiCoreV1Affinity { + 'nodeAffinity'?: IoK8sApiCoreV1NodeAffinity; + 'podAffinity'?: IoK8sApiCoreV1PodAffinity; + 'podAntiAffinity'?: IoK8sApiCoreV1PodAntiAffinity; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeAffinity", + "baseName": "nodeAffinity", + "type": "IoK8sApiCoreV1NodeAffinity", + "format": "" + }, + { + "name": "podAffinity", + "baseName": "podAffinity", + "type": "IoK8sApiCoreV1PodAffinity", + "format": "" + }, + { + "name": "podAntiAffinity", + "baseName": "podAntiAffinity", + "type": "IoK8sApiCoreV1PodAntiAffinity", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Affinity.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts new file mode 100644 index 0000000..42d33af --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +*/ +export class IoK8sApiCoreV1AzureDiskVolumeSource { + /** + * Host Caching mode: None, Read Only, Read Write. + */ + 'cachingMode'?: string; + /** + * The Name of the data disk in the blob storage + */ + 'diskName': string; + /** + * The URI the data disk in the blob storage + */ + 'diskURI': string; + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + */ + 'fsType'?: string; + /** + * 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 + */ + 'kind'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cachingMode", + "baseName": "cachingMode", + "type": "string", + "format": "" + }, + { + "name": "diskName", + "baseName": "diskName", + "type": "string", + "format": "" + }, + { + "name": "diskURI", + "baseName": "diskURI", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1AzureDiskVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureFileVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureFileVolumeSource.ts new file mode 100644 index 0000000..685a138 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1AzureFileVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +*/ +export class IoK8sApiCoreV1AzureFileVolumeSource { + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * the name of secret that contains Azure Storage Account Name and Key + */ + 'secretName': string; + /** + * Share Name + */ + 'shareName': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretName", + "baseName": "secretName", + "type": "string", + "format": "" + }, + { + "name": "shareName", + "baseName": "shareName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1AzureFileVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CSIVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CSIVolumeSource.ts new file mode 100644 index 0000000..623ba79 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CSIVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a source location of a volume to mount, managed by an external CSI driver +*/ +export class IoK8sApiCoreV1CSIVolumeSource { + /** + * 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. + */ + 'driver': string; + /** + * Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. + */ + 'fsType'?: string; + 'nodePublishSecretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * Specifies a read-only configuration for the volume. Defaults to false (read/write). + */ + 'readOnly'?: boolean; + /** + * VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver\'s documentation for supported values. + */ + 'volumeAttributes'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "nodePublishSecretRef", + "baseName": "nodePublishSecretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeAttributes", + "baseName": "volumeAttributes", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1CSIVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Capabilities.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Capabilities.ts new file mode 100644 index 0000000..c849b12 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Capabilities.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Adds and removes POSIX capabilities from running containers. +*/ +export class IoK8sApiCoreV1Capabilities { + /** + * Added capabilities + */ + 'add'?: Array; + /** + * Removed capabilities + */ + 'drop'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "add", + "baseName": "add", + "type": "Array", + "format": "" + }, + { + "name": "drop", + "baseName": "drop", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Capabilities.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CephFSVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CephFSVolumeSource.ts new file mode 100644 index 0000000..469f9de --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CephFSVolumeSource.ts @@ -0,0 +1,89 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1CephFSVolumeSource { + /** + * Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + */ + 'monitors': Array; + /** + * Optional: Used as the mounted root, rather than the full Ceph tree, default is / + */ + 'path'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * 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 + */ + 'secretFile'?: string; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "monitors", + "baseName": "monitors", + "type": "Array", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretFile", + "baseName": "secretFile", + "type": "string", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1CephFSVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CinderVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CinderVolumeSource.ts new file mode 100644 index 0000000..1410d75 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1CinderVolumeSource.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1CinderVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1CinderVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapEnvSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapEnvSource.ts new file mode 100644 index 0000000..85873b5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapEnvSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapEnvSource { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ConfigMapEnvSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapKeySelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapKeySelector.ts new file mode 100644 index 0000000..b41427e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapKeySelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Selects a key from a ConfigMap. +*/ +export class IoK8sApiCoreV1ConfigMapKeySelector { + /** + * The key to select. + */ + 'key': string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ConfigMapKeySelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapProjection.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapProjection.ts new file mode 100644 index 0000000..9e7124f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapProjection.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapProjection { + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its keys must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ConfigMapProjection.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts new file mode 100644 index 0000000..39f8a4c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its keys must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ConfigMapVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Container.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Container.ts new file mode 100644 index 0000000..d6107a9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Container.ts @@ -0,0 +1,246 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* A single application container that you want to run within a pod. +*/ +export class IoK8sApiCoreV1Container { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image': string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images 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; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name'?: string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. 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; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "IoK8sApiCoreV1ContainerImagePullPolicyEnum", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Container.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ContainerImagePullPolicyEnum = "Always" | "IfNotPresent" | "Never" ; +export type IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum = "FallbackToLogsOnError" | "File" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ContainerPort.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ContainerPort.ts new file mode 100644 index 0000000..62592e6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ContainerPort.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ContainerPort represents a network port in a single container. +*/ +export class IoK8sApiCoreV1ContainerPort { + /** + * Number of port to expose on the pod\'s IP address. This must be a valid port number, 0 < x < 65536. + */ + 'containerPort': number; + /** + * What host IP to bind the external port to. + */ + 'hostIP'?: string; + /** + * Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. + */ + 'hostPort'?: number; + /** + * 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. + */ + 'name'?: string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containerPort", + "baseName": "containerPort", + "type": "number", + "format": "" + }, + { + "name": "hostIP", + "baseName": "hostIP", + "type": "string", + "format": "" + }, + { + "name": "hostPort", + "baseName": "hostPort", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "protocol", + "baseName": "protocol", + "type": "IoK8sApiCoreV1ContainerPortProtocolEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ContainerPort.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ContainerPortProtocolEnum = "SCTP" | "TCP" | "UDP" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIProjection.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIProjection.ts new file mode 100644 index 0000000..495297a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIProjection.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; + +/** +* Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. +*/ +export class IoK8sApiCoreV1DownwardAPIProjection { + /** + * Items is a list of DownwardAPIVolume file + */ + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1DownwardAPIProjection.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts new file mode 100644 index 0000000..2201927 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { HttpFile } from '../http/http'; + +/** +* DownwardAPIVolumeFile represents information to create the file containing the pod field +*/ +export class IoK8sApiCoreV1DownwardAPIVolumeFile { + 'fieldRef'?: IoK8sApiCoreV1ObjectFieldSelector; + /** + * 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. + */ + 'mode'?: number; + /** + * 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 \'..\' + */ + 'path': string; + 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fieldRef", + "baseName": "fieldRef", + "type": "IoK8sApiCoreV1ObjectFieldSelector", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "resourceFieldRef", + "baseName": "resourceFieldRef", + "type": "IoK8sApiCoreV1ResourceFieldSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1DownwardAPIVolumeFile.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts new file mode 100644 index 0000000..f735865 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; + +/** +* DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1DownwardAPIVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * Items is a list of downward API volume file + */ + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1DownwardAPIVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts new file mode 100644 index 0000000..fc655a1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1EmptyDirVolumeSource { + /** + * 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 + */ + 'medium'?: string; + /** + * 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. The serialization format is: ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn\'t choose the capitalization.) ::= \"e\" | \"E\" No 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. When 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. Before 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: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-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.) This 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. + */ + 'sizeLimit'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "medium", + "baseName": "medium", + "type": "string", + "format": "" + }, + { + "name": "sizeLimit", + "baseName": "sizeLimit", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EmptyDirVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvFromSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvFromSource.ts new file mode 100644 index 0000000..f091324 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvFromSource.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { HttpFile } from '../http/http'; + +/** +* EnvFromSource represents the source of a set of ConfigMaps +*/ +export class IoK8sApiCoreV1EnvFromSource { + 'configMapRef'?: IoK8sApiCoreV1ConfigMapEnvSource; + /** + * An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + */ + 'prefix'?: string; + 'secretRef'?: IoK8sApiCoreV1SecretEnvSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapRef", + "baseName": "configMapRef", + "type": "IoK8sApiCoreV1ConfigMapEnvSource", + "format": "" + }, + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1SecretEnvSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EnvFromSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVar.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVar.ts new file mode 100644 index 0000000..cb140dd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVar.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { HttpFile } from '../http/http'; + +/** +* EnvVar represents an environment variable present in a Container. +*/ +export class IoK8sApiCoreV1EnvVar { + /** + * Name of the environment variable. Must be a C_IDENTIFIER. + */ + 'name': string; + /** + * 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 \"\". + */ + 'value'?: string; + 'valueFrom'?: IoK8sApiCoreV1EnvVarSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoK8sApiCoreV1EnvVarSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EnvVar.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVarSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVarSource.ts new file mode 100644 index 0000000..7e10581 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EnvVarSource.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* EnvVarSource represents a source for the value of an EnvVar. +*/ +export class IoK8sApiCoreV1EnvVarSource { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'fieldRef'?: IoK8sApiCoreV1ObjectFieldSelector; + 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "fieldRef", + "baseName": "fieldRef", + "type": "IoK8sApiCoreV1ObjectFieldSelector", + "format": "" + }, + { + "name": "resourceFieldRef", + "baseName": "resourceFieldRef", + "type": "IoK8sApiCoreV1ResourceFieldSelector", + "format": "" + }, + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EnvVarSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EphemeralVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EphemeralVolumeSource.ts new file mode 100644 index 0000000..2304e0d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EphemeralVolumeSource.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { HttpFile } from '../http/http'; + +/** +* Represents an ephemeral volume that is handled by a normal storage driver. +*/ +export class IoK8sApiCoreV1EphemeralVolumeSource { + 'volumeClaimTemplate'?: IoK8sApiCoreV1PersistentVolumeClaimTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "volumeClaimTemplate", + "baseName": "volumeClaimTemplate", + "type": "IoK8sApiCoreV1PersistentVolumeClaimTemplate", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EphemeralVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Event.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Event.ts new file mode 100644 index 0000000..2f393f7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Event.ts @@ -0,0 +1,190 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1Event { + /** + * What action was taken/failed regarding to the Regarding object. + */ + 'action'?: string; + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + */ + 'apiVersion'?: string; + /** + * The number of times this event has occurred. + */ + 'count'?: number; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'eventTime'?: Date; + /** + * 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. + */ + 'firstTimestamp'?: Date; + 'involvedObject': IoK8sApiCoreV1ObjectReference; + /** + * 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 + */ + 'kind'?: string; + /** + * 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. + */ + 'lastTimestamp'?: Date; + /** + * A human-readable description of the status of this operation. + */ + 'message'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + /** + * This should be a short, machine understandable string that gives the reason for the transition into the object\'s current status. + */ + 'reason'?: string; + 'related'?: IoK8sApiCoreV1ObjectReference; + /** + * Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + */ + 'reportingComponent'?: string; + /** + * ID of the controller instance, e.g. `kubelet-xyzf`. + */ + 'reportingInstance'?: string; + 'series'?: IoK8sApiCoreV1EventSeries; + 'source'?: IoK8sApiCoreV1EventSource; + /** + * Type of this event (Normal, Warning), new types could be added in the future + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "action", + "baseName": "action", + "type": "string", + "format": "" + }, + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "" + }, + { + "name": "eventTime", + "baseName": "eventTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "firstTimestamp", + "baseName": "firstTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "involvedObject", + "baseName": "involvedObject", + "type": "IoK8sApiCoreV1ObjectReference", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "lastTimestamp", + "baseName": "lastTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "related", + "baseName": "related", + "type": "IoK8sApiCoreV1ObjectReference", + "format": "" + }, + { + "name": "reportingComponent", + "baseName": "reportingComponent", + "type": "string", + "format": "" + }, + { + "name": "reportingInstance", + "baseName": "reportingInstance", + "type": "string", + "format": "" + }, + { + "name": "series", + "baseName": "series", + "type": "IoK8sApiCoreV1EventSeries", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoK8sApiCoreV1EventSource", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Event.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSeries.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSeries.ts new file mode 100644 index 0000000..d874301 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSeries.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. +*/ +export class IoK8sApiCoreV1EventSeries { + /** + * Number of occurrences in this series up to the last heartbeat time + */ + 'count'?: number; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'lastObservedTime'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "" + }, + { + "name": "lastObservedTime", + "baseName": "lastObservedTime", + "type": "Date", + "format": "date-time" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EventSeries.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSource.ts new file mode 100644 index 0000000..f39eefa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1EventSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EventSource contains information for an event. +*/ +export class IoK8sApiCoreV1EventSource { + /** + * Component from which the event is generated. + */ + 'component'?: string; + /** + * Node name on which the event is generated. + */ + 'host'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "component", + "baseName": "component", + "type": "string", + "format": "" + }, + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1EventSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ExecAction.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ExecAction.ts new file mode 100644 index 0000000..cde17e7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ExecAction.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ExecAction describes a \"run in container\" action. +*/ +export class IoK8sApiCoreV1ExecAction { + /** + * 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. + */ + 'command'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ExecAction.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FCVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FCVolumeSource.ts new file mode 100644 index 0000000..7a8076b --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FCVolumeSource.ts @@ -0,0 +1,81 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1FCVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Optional: FC target lun number + */ + 'lun'?: number; + /** + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * Optional: FC target worldwide names (WWNs) + */ + 'targetWWNs'?: Array; + /** + * Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + */ + 'wwids'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "lun", + "baseName": "lun", + "type": "number", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "targetWWNs", + "baseName": "targetWWNs", + "type": "Array", + "format": "" + }, + { + "name": "wwids", + "baseName": "wwids", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1FCVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlexVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlexVolumeSource.ts new file mode 100644 index 0000000..9150a07 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlexVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +*/ +export class IoK8sApiCoreV1FlexVolumeSource { + /** + * Driver is the name of the driver to use for this volume. + */ + 'driver': string; + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + */ + 'fsType'?: string; + /** + * Optional: Extra command options if any. + */ + 'options'?: { [key: string]: string; }; + /** + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "options", + "baseName": "options", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1FlexVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlockerVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlockerVolumeSource.ts new file mode 100644 index 0000000..fb64093 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1FlockerVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1FlockerVolumeSource { + /** + * Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated + */ + 'datasetName'?: string; + /** + * UUID of the dataset. This is unique identifier of a Flocker dataset + */ + 'datasetUUID'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "datasetName", + "baseName": "datasetName", + "type": "string", + "format": "" + }, + { + "name": "datasetUUID", + "baseName": "datasetUUID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1FlockerVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts new file mode 100644 index 0000000..b426c49 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1GCEPersistentDiskVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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 + */ + 'partition'?: number; + /** + * 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 + */ + 'pdName': string; + /** + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "pdName", + "baseName": "pdName", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1GCEPersistentDiskVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GRPCAction.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GRPCAction.ts new file mode 100644 index 0000000..7580110 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GRPCAction.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoK8sApiCoreV1GRPCAction { + /** + * Port number of the gRPC service. Number must be in the range 1 to 65535. + */ + 'port': number; + /** + * 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). If this is not specified, the default behavior is defined by gRPC. + */ + 'service'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "port", + "baseName": "port", + "type": "number", + "format": "" + }, + { + "name": "service", + "baseName": "service", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1GRPCAction.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GitRepoVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GitRepoVolumeSource.ts new file mode 100644 index 0000000..b64f904 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GitRepoVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1GitRepoVolumeSource { + /** + * 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. + */ + 'directory'?: string; + /** + * Repository URL + */ + 'repository': string; + /** + * Commit hash for the specified revision. + */ + 'revision'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "directory", + "baseName": "directory", + "type": "string", + "format": "" + }, + { + "name": "repository", + "baseName": "repository", + "type": "string", + "format": "" + }, + { + "name": "revision", + "baseName": "revision", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1GitRepoVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts new file mode 100644 index 0000000..7fd67ca --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1GlusterfsVolumeSource { + /** + * EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + */ + 'endpoints': string; + /** + * Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + */ + 'path': string; + /** + * 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 + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "endpoints", + "baseName": "endpoints", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1GlusterfsVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPGetAction.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPGetAction.ts new file mode 100644 index 0000000..e5296e1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPGetAction.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { HttpFile } from '../http/http'; + +/** +* HTTPGetAction describes an action based on HTTP Get requests. +*/ +export class IoK8sApiCoreV1HTTPGetAction { + /** + * Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. + */ + 'host'?: string; + /** + * Custom headers to set in the request. HTTP allows repeated headers. + */ + 'httpHeaders'?: Array; + /** + * Path to access on the HTTP server. + */ + 'path'?: string; + 'port': string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "httpHeaders", + "baseName": "httpHeaders", + "type": "Array", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + }, + { + "name": "scheme", + "baseName": "scheme", + "type": "IoK8sApiCoreV1HTTPGetActionSchemeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1HTTPGetAction.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1HTTPGetActionSchemeEnum = "HTTP" | "HTTPS" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPHeader.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPHeader.ts new file mode 100644 index 0000000..4763a0f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HTTPHeader.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HTTPHeader describes a custom header to be used in HTTP probes +*/ +export class IoK8sApiCoreV1HTTPHeader { + /** + * The header field name + */ + 'name': string; + /** + * The header field value + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1HTTPHeader.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostAlias.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostAlias.ts new file mode 100644 index 0000000..46da5a5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostAlias.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod\'s hosts file. +*/ +export class IoK8sApiCoreV1HostAlias { + /** + * Hostnames for the above IP address. + */ + 'hostnames'?: Array; + /** + * IP address of the host file entry. + */ + 'ip'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "hostnames", + "baseName": "hostnames", + "type": "Array", + "format": "" + }, + { + "name": "ip", + "baseName": "ip", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1HostAlias.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostPathVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostPathVolumeSource.ts new file mode 100644 index 0000000..17f6cd0 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1HostPathVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1HostPathVolumeSource { + /** + * 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 + */ + 'path': string; + /** + * Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1HostPathVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ISCSIVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ISCSIVolumeSource.ts new file mode 100644 index 0000000..52e4735 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ISCSIVolumeSource.ts @@ -0,0 +1,139 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1ISCSIVolumeSource { + /** + * whether support iSCSI Discovery CHAP authentication + */ + 'chapAuthDiscovery'?: boolean; + /** + * whether support iSCSI Session CHAP authentication + */ + 'chapAuthSession'?: boolean; + /** + * 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 + */ + 'fsType'?: string; + /** + * Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. + */ + 'initiatorName'?: string; + /** + * Target iSCSI Qualified Name. + */ + 'iqn': string; + /** + * iSCSI Interface Name that uses an iSCSI transport. Defaults to \'default\' (tcp). + */ + 'iscsiInterface'?: string; + /** + * iSCSI Target Lun number. + */ + 'lun': number; + /** + * 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). + */ + 'portals'?: Array; + /** + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * 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). + */ + 'targetPortal': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "chapAuthDiscovery", + "baseName": "chapAuthDiscovery", + "type": "boolean", + "format": "" + }, + { + "name": "chapAuthSession", + "baseName": "chapAuthSession", + "type": "boolean", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "initiatorName", + "baseName": "initiatorName", + "type": "string", + "format": "" + }, + { + "name": "iqn", + "baseName": "iqn", + "type": "string", + "format": "" + }, + { + "name": "iscsiInterface", + "baseName": "iscsiInterface", + "type": "string", + "format": "" + }, + { + "name": "lun", + "baseName": "lun", + "type": "number", + "format": "" + }, + { + "name": "portals", + "baseName": "portals", + "type": "Array", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "targetPortal", + "baseName": "targetPortal", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ISCSIVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1KeyToPath.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1KeyToPath.ts new file mode 100644 index 0000000..89e23bf --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1KeyToPath.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Maps a string key to a path within a volume. +*/ +export class IoK8sApiCoreV1KeyToPath { + /** + * The key to project. + */ + 'key': string; + /** + * 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. + */ + 'mode'?: number; + /** + * 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 \'..\'. + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1KeyToPath.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Lifecycle.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Lifecycle.ts new file mode 100644 index 0000000..000f063 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Lifecycle.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1Lifecycle { + 'postStart'?: IoK8sApiCoreV1LifecycleHandler; + 'preStop'?: IoK8sApiCoreV1LifecycleHandler; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "postStart", + "baseName": "postStart", + "type": "IoK8sApiCoreV1LifecycleHandler", + "format": "" + }, + { + "name": "preStop", + "baseName": "preStop", + "type": "IoK8sApiCoreV1LifecycleHandler", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Lifecycle.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LifecycleHandler.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LifecycleHandler.ts new file mode 100644 index 0000000..aee4139 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LifecycleHandler.ts @@ -0,0 +1,55 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1LifecycleHandler { + 'exec'?: IoK8sApiCoreV1ExecAction; + 'httpGet'?: IoK8sApiCoreV1HTTPGetAction; + 'tcpSocket'?: IoK8sApiCoreV1TCPSocketAction; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exec", + "baseName": "exec", + "type": "IoK8sApiCoreV1ExecAction", + "format": "" + }, + { + "name": "httpGet", + "baseName": "httpGet", + "type": "IoK8sApiCoreV1HTTPGetAction", + "format": "" + }, + { + "name": "tcpSocket", + "baseName": "tcpSocket", + "type": "IoK8sApiCoreV1TCPSocketAction", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1LifecycleHandler.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LocalObjectReference.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LocalObjectReference.ts new file mode 100644 index 0000000..4458a9a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1LocalObjectReference.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +*/ +export class IoK8sApiCoreV1LocalObjectReference { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1LocalObjectReference.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NFSVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NFSVolumeSource.ts new file mode 100644 index 0000000..e335e13 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NFSVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1NFSVolumeSource { + /** + * Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + */ + 'path': string; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + */ + 'server': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "server", + "baseName": "server", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NFSVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeAffinity.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeAffinity.ts new file mode 100644 index 0000000..b06802d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeAffinity.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { HttpFile } from '../http/http'; + +/** +* Node affinity is a group of node affinity scheduling rules. +*/ +export class IoK8sApiCoreV1NodeAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + 'requiredDuringSchedulingIgnoredDuringExecution'?: IoK8sApiCoreV1NodeSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "IoK8sApiCoreV1NodeSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NodeAffinity.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelector.ts new file mode 100644 index 0000000..7c8c500 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelector.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1NodeSelector { + /** + * Required. A list of node selector terms. The terms are ORed. + */ + 'nodeSelectorTerms': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeSelectorTerms", + "baseName": "nodeSelectorTerms", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NodeSelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorRequirement.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorRequirement.ts new file mode 100644 index 0000000..3998fdd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorRequirement.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +*/ +export class IoK8sApiCoreV1NodeSelectorRequirement { + /** + * The label key that the selector applies to. + */ + 'key': string; + /** + * 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; + /** + * 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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum", + "format": "" + }, + { + "name": "values", + "baseName": "values", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NodeSelectorRequirement.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum = "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorTerm.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorTerm.ts new file mode 100644 index 0000000..c491a3e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1NodeSelectorTerm.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1NodeSelectorTerm { + /** + * A list of node selector requirements by node\'s labels. + */ + 'matchExpressions'?: Array; + /** + * A list of node selector requirements by node\'s fields. + */ + 'matchFields'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchExpressions", + "baseName": "matchExpressions", + "type": "Array", + "format": "" + }, + { + "name": "matchFields", + "baseName": "matchFields", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NodeSelectorTerm.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectFieldSelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectFieldSelector.ts new file mode 100644 index 0000000..ca01f09 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectFieldSelector.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ObjectFieldSelector selects an APIVersioned field of an object. +*/ +export class IoK8sApiCoreV1ObjectFieldSelector { + /** + * Version of the schema the FieldPath is written in terms of, defaults to \"v1\". + */ + 'apiVersion'?: string; + /** + * Path of the field to select in the specified API version. + */ + 'fieldPath': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldPath", + "baseName": "fieldPath", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ObjectFieldSelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectReference.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectReference.ts new file mode 100644 index 0000000..62ddbd9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ObjectReference.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ObjectReference contains enough information to let you inspect or modify the referred object. +*/ +export class IoK8sApiCoreV1ObjectReference { + /** + * API version of the referent. + */ + 'apiVersion'?: string; + /** + * 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. + */ + 'fieldPath'?: string; + /** + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + */ + 'namespace'?: string; + /** + * 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 + */ + 'resourceVersion'?: string; + /** + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + */ + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldPath", + "baseName": "fieldPath", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ObjectReference.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaim.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaim.ts new file mode 100644 index 0000000..1f6e4b8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaim.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PersistentVolumeClaim is a user\'s request for and claim to a persistent volume +*/ +export class IoK8sApiCoreV1PersistentVolumeClaim { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoK8sApiCoreV1PersistentVolumeClaimSpec; + 'status'?: IoK8sApiCoreV1PersistentVolumeClaimStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaim.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts new file mode 100644 index 0000000..4e02d7f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimCondition contails details about state of pvc +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimCondition { + /** + * 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. + */ + 'lastProbeTime'?: Date; + /** + * 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. + */ + 'lastTransitionTime'?: Date; + /** + * Human-readable message indicating details about last transition. + */ + 'message'?: string; + /** + * 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. + */ + 'reason'?: string; + 'status': string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "lastProbeTime", + "baseName": "lastProbeTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "lastTransitionTime", + "baseName": "lastTransitionTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimCondition.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum = "FileSystemResizePending" | "Resizing" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts new file mode 100644 index 0000000..9fd36bf --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts @@ -0,0 +1,102 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimSpec { + /** + * AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + */ + 'accessModes'?: Array; + 'dataSource'?: IoK8sApiCoreV1TypedLocalObjectReference; + 'dataSourceRef'?: IoK8sApiCoreV1TypedLocalObjectReference; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + */ + 'storageClassName'?: string; + /** + * volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + */ + 'volumeMode'?: string; + /** + * VolumeName is the binding reference to the PersistentVolume backing this claim. + */ + 'volumeName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessModes", + "baseName": "accessModes", + "type": "Array", + "format": "" + }, + { + "name": "dataSource", + "baseName": "dataSource", + "type": "IoK8sApiCoreV1TypedLocalObjectReference", + "format": "" + }, + { + "name": "dataSourceRef", + "baseName": "dataSourceRef", + "type": "IoK8sApiCoreV1TypedLocalObjectReference", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "selector", + "baseName": "selector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "storageClassName", + "baseName": "storageClassName", + "type": "string", + "format": "" + }, + { + "name": "volumeMode", + "baseName": "volumeMode", + "type": "string", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts new file mode 100644 index 0000000..950ce17 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimStatus is the current status of a persistent volume claim. +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimStatus { + /** + * 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 + */ + 'accessModes'?: Array; + /** + * 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. + */ + 'allocatedResources'?: { [key: string]: string; }; + /** + * Represents the actual resources of the underlying volume. + */ + 'capacity'?: { [key: string]: string; }; + /** + * Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to \'ResizeStarted\'. + */ + 'conditions'?: Array; + /** + * 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; + /** + * 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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessModes", + "baseName": "accessModes", + "type": "Array", + "format": "" + }, + { + "name": "allocatedResources", + "baseName": "allocatedResources", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "capacity", + "baseName": "capacity", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum", + "format": "" + }, + { + "name": "resizeStatus", + "baseName": "resizeStatus", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimStatus.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum = "Bound" | "Lost" | "Pending" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts new file mode 100644 index 0000000..2aece3c --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimTemplate { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoK8sApiCoreV1PersistentVolumeClaimSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimTemplate.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts new file mode 100644 index 0000000..a5f5dbc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimVolumeSource { + /** + * 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 + */ + 'claimName': string; + /** + * Will force the ReadOnly setting in VolumeMounts. Default false. + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "claimName", + "baseName": "claimName", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts new file mode 100644 index 0000000..f87e4f5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Photon Controller persistent disk resource. +*/ +export class IoK8sApiCoreV1PhotonPersistentDiskVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * ID that identifies Photon Controller persistent disk + */ + 'pdID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "pdID", + "baseName": "pdID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinity.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinity.ts new file mode 100644 index 0000000..106c767 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinity.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* Pod affinity is a group of inter pod affinity scheduling rules. +*/ +export class IoK8sApiCoreV1PodAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + /** + * 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. + */ + 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodAffinity.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinityTerm.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinityTerm.ts new file mode 100644 index 0000000..9d412f8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAffinityTerm.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* 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 +*/ +export class IoK8sApiCoreV1PodAffinityTerm { + 'labelSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + 'namespaceSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * 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\" + */ + 'namespaces'?: Array; + /** + * 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. + */ + 'topologyKey': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "labelSelector", + "baseName": "labelSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "namespaceSelector", + "baseName": "namespaceSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "namespaces", + "baseName": "namespaces", + "type": "Array", + "format": "" + }, + { + "name": "topologyKey", + "baseName": "topologyKey", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodAffinityTerm.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAntiAffinity.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAntiAffinity.ts new file mode 100644 index 0000000..e80d4c3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodAntiAffinity.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* Pod anti affinity is a group of inter pod anti affinity scheduling rules. +*/ +export class IoK8sApiCoreV1PodAntiAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + /** + * 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. + */ + 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodAntiAffinity.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfig.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfig.ts new file mode 100644 index 0000000..32889cb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfig.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { HttpFile } from '../http/http'; + +/** +* PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. +*/ +export class IoK8sApiCoreV1PodDNSConfig { + /** + * A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + */ + 'nameservers'?: Array; + /** + * 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. + */ + 'options'?: Array; + /** + * 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. + */ + 'searches'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nameservers", + "baseName": "nameservers", + "type": "Array", + "format": "" + }, + { + "name": "options", + "baseName": "options", + "type": "Array", + "format": "" + }, + { + "name": "searches", + "baseName": "searches", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodDNSConfig.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfigOption.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfigOption.ts new file mode 100644 index 0000000..704ed18 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodDNSConfigOption.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PodDNSConfigOption defines DNS resolver options of a pod. +*/ +export class IoK8sApiCoreV1PodDNSConfigOption { + /** + * Required. + */ + 'name'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodDNSConfigOption.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodSecurityContext.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodSecurityContext.ts new file mode 100644 index 0000000..90351e8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PodSecurityContext.ts @@ -0,0 +1,126 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1PodSecurityContext { + /** + * 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: 1. 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---- If 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. + */ + 'fsGroup'?: number; + /** + * 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. + */ + 'fsGroupChangePolicy'?: string; + /** + * 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. + */ + 'runAsGroup'?: number; + /** + * 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. + */ + 'runAsNonRoot'?: boolean; + /** + * 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. + */ + 'runAsUser'?: number; + 'seLinuxOptions'?: IoK8sApiCoreV1SELinuxOptions; + 'seccompProfile'?: IoK8sApiCoreV1SeccompProfile; + /** + * 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. + */ + 'supplementalGroups'?: Array; + /** + * 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. + */ + 'sysctls'?: Array; + 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsGroup", + "baseName": "fsGroup", + "type": "number", + "format": "" + }, + { + "name": "fsGroupChangePolicy", + "baseName": "fsGroupChangePolicy", + "type": "string", + "format": "" + }, + { + "name": "runAsGroup", + "baseName": "runAsGroup", + "type": "number", + "format": "" + }, + { + "name": "runAsNonRoot", + "baseName": "runAsNonRoot", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUser", + "baseName": "runAsUser", + "type": "number", + "format": "" + }, + { + "name": "seLinuxOptions", + "baseName": "seLinuxOptions", + "type": "IoK8sApiCoreV1SELinuxOptions", + "format": "" + }, + { + "name": "seccompProfile", + "baseName": "seccompProfile", + "type": "IoK8sApiCoreV1SeccompProfile", + "format": "" + }, + { + "name": "supplementalGroups", + "baseName": "supplementalGroups", + "type": "Array", + "format": "int64" + }, + { + "name": "sysctls", + "baseName": "sysctls", + "type": "Array", + "format": "" + }, + { + "name": "windowsOptions", + "baseName": "windowsOptions", + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PodSecurityContext.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PortworxVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PortworxVolumeSource.ts new file mode 100644 index 0000000..9b5736e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PortworxVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PortworxVolumeSource represents a Portworx volume resource. +*/ +export class IoK8sApiCoreV1PortworxVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * VolumeID uniquely identifies a Portworx volume + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PortworxVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts new file mode 100644 index 0000000..c4a8189 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1PreferredSchedulingTerm { + 'preference': IoK8sApiCoreV1NodeSelectorTerm; + /** + * Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + */ + 'weight': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preference", + "baseName": "preference", + "type": "IoK8sApiCoreV1NodeSelectorTerm", + "format": "" + }, + { + "name": "weight", + "baseName": "weight", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PreferredSchedulingTerm.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Probe.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Probe.ts new file mode 100644 index 0000000..d10e524 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Probe.ts @@ -0,0 +1,123 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. +*/ +export class IoK8sApiCoreV1Probe { + 'exec'?: IoK8sApiCoreV1ExecAction; + /** + * Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + */ + 'failureThreshold'?: number; + 'grpc'?: IoK8sApiCoreV1GRPCAction; + 'httpGet'?: IoK8sApiCoreV1HTTPGetAction; + /** + * 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 + */ + 'initialDelaySeconds'?: number; + /** + * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + */ + 'periodSeconds'?: number; + /** + * 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. + */ + 'successThreshold'?: number; + 'tcpSocket'?: IoK8sApiCoreV1TCPSocketAction; + /** + * 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. + */ + 'terminationGracePeriodSeconds'?: number; + /** + * 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 + */ + 'timeoutSeconds'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exec", + "baseName": "exec", + "type": "IoK8sApiCoreV1ExecAction", + "format": "" + }, + { + "name": "failureThreshold", + "baseName": "failureThreshold", + "type": "number", + "format": "" + }, + { + "name": "grpc", + "baseName": "grpc", + "type": "IoK8sApiCoreV1GRPCAction", + "format": "" + }, + { + "name": "httpGet", + "baseName": "httpGet", + "type": "IoK8sApiCoreV1HTTPGetAction", + "format": "" + }, + { + "name": "initialDelaySeconds", + "baseName": "initialDelaySeconds", + "type": "number", + "format": "" + }, + { + "name": "periodSeconds", + "baseName": "periodSeconds", + "type": "number", + "format": "" + }, + { + "name": "successThreshold", + "baseName": "successThreshold", + "type": "number", + "format": "" + }, + { + "name": "tcpSocket", + "baseName": "tcpSocket", + "type": "IoK8sApiCoreV1TCPSocketAction", + "format": "" + }, + { + "name": "terminationGracePeriodSeconds", + "baseName": "terminationGracePeriodSeconds", + "type": "number", + "format": "" + }, + { + "name": "timeoutSeconds", + "baseName": "timeoutSeconds", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Probe.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ProjectedVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ProjectedVolumeSource.ts new file mode 100644 index 0000000..2d15bbd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ProjectedVolumeSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { HttpFile } from '../http/http'; + +/** +* Represents a projected volume source +*/ +export class IoK8sApiCoreV1ProjectedVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * list of volume projections + */ + 'sources'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "sources", + "baseName": "sources", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ProjectedVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1QuobyteVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1QuobyteVolumeSource.ts new file mode 100644 index 0000000..c1d8881 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1QuobyteVolumeSource.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1QuobyteVolumeSource { + /** + * Group to map volume access to Default is no group + */ + 'group'?: string; + /** + * ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. + */ + 'readOnly'?: boolean; + /** + * 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 + */ + 'registry': string; + /** + * Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin + */ + 'tenant'?: string; + /** + * User to map volume access to Defaults to serivceaccount user + */ + 'user'?: string; + /** + * Volume is a string that references an already created Quobyte volume by name. + */ + 'volume': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "group", + "baseName": "group", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "registry", + "baseName": "registry", + "type": "string", + "format": "" + }, + { + "name": "tenant", + "baseName": "tenant", + "type": "string", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + }, + { + "name": "volume", + "baseName": "volume", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1QuobyteVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1RBDVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1RBDVolumeSource.ts new file mode 100644 index 0000000..1c3e521 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1RBDVolumeSource.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1RBDVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'image': string; + /** + * 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 + */ + 'keyring'?: string; + /** + * A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'monitors': Array; + /** + * The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'pool'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "keyring", + "baseName": "keyring", + "type": "string", + "format": "" + }, + { + "name": "monitors", + "baseName": "monitors", + "type": "Array", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1RBDVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceFieldSelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceFieldSelector.ts new file mode 100644 index 0000000..e92b2c8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceFieldSelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceFieldSelector represents container resources (cpu, memory) and their output format +*/ +export class IoK8sApiCoreV1ResourceFieldSelector { + /** + * Container name: required for volumes, optional for env vars + */ + 'containerName'?: string; + /** + * 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. The serialization format is: ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn\'t choose the capitalization.) ::= \"e\" | \"E\" No 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. When 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. Before 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: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-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.) This 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. + */ + 'divisor'?: string; + /** + * Required: resource to select + */ + 'resource': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containerName", + "baseName": "containerName", + "type": "string", + "format": "" + }, + { + "name": "divisor", + "baseName": "divisor", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ResourceFieldSelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceRequirements.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceRequirements.ts new file mode 100644 index 0000000..e9cdf03 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ResourceRequirements.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceRequirements describes the compute resource requirements. +*/ +export class IoK8sApiCoreV1ResourceRequirements { + /** + * Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + */ + 'limits'?: { [key: string]: string; }; + /** + * 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/ + */ + 'requests'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "limits", + "baseName": "limits", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ResourceRequirements.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SELinuxOptions.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SELinuxOptions.ts new file mode 100644 index 0000000..0b7217f --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SELinuxOptions.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SELinuxOptions are the labels to be applied to the container +*/ +export class IoK8sApiCoreV1SELinuxOptions { + /** + * Level is SELinux level label that applies to the container. + */ + 'level'?: string; + /** + * Role is a SELinux role label that applies to the container. + */ + 'role'?: string; + /** + * Type is a SELinux type label that applies to the container. + */ + 'type'?: string; + /** + * User is a SELinux user label that applies to the container. + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "role", + "baseName": "role", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SELinuxOptions.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts new file mode 100644 index 0000000..6c512c3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts @@ -0,0 +1,129 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* ScaleIOVolumeSource represents a persistent ScaleIO volume +*/ +export class IoK8sApiCoreV1ScaleIOVolumeSource { + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". + */ + 'fsType'?: string; + /** + * The host address of the ScaleIO API Gateway. + */ + 'gateway': string; + /** + * The name of the ScaleIO Protection Domain for the configured storage. + */ + 'protectionDomain'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef': IoK8sApiCoreV1LocalObjectReference; + /** + * Flag to enable/disable SSL communication with Gateway, default false + */ + 'sslEnabled'?: boolean; + /** + * Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. + */ + 'storageMode'?: string; + /** + * The ScaleIO Storage Pool associated with the protection domain. + */ + 'storagePool'?: string; + /** + * The name of the storage system as configured in ScaleIO. + */ + 'system': string; + /** + * The name of a volume already created in the ScaleIO system that is associated with this volume source. + */ + 'volumeName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "gateway", + "baseName": "gateway", + "type": "string", + "format": "" + }, + { + "name": "protectionDomain", + "baseName": "protectionDomain", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "sslEnabled", + "baseName": "sslEnabled", + "type": "boolean", + "format": "" + }, + { + "name": "storageMode", + "baseName": "storageMode", + "type": "string", + "format": "" + }, + { + "name": "storagePool", + "baseName": "storagePool", + "type": "string", + "format": "" + }, + { + "name": "system", + "baseName": "system", + "type": "string", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ScaleIOVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SeccompProfile.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SeccompProfile.ts new file mode 100644 index 0000000..b0fd498 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SeccompProfile.ts @@ -0,0 +1,54 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. +*/ +export class IoK8sApiCoreV1SeccompProfile { + /** + * 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\". + */ + 'localhostProfile'?: string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "localhostProfile", + "baseName": "localhostProfile", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "IoK8sApiCoreV1SeccompProfileTypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SeccompProfile.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1SeccompProfileTypeEnum = "Localhost" | "RuntimeDefault" | "Unconfined" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretEnvSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretEnvSource.ts new file mode 100644 index 0000000..d490574 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretEnvSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretEnvSource { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SecretEnvSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretKeySelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretKeySelector.ts new file mode 100644 index 0000000..8839286 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretKeySelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SecretKeySelector selects a key of a Secret. +*/ +export class IoK8sApiCoreV1SecretKeySelector { + /** + * The key of the secret to select from. Must be a valid secret key. + */ + 'key': string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SecretKeySelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretProjection.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretProjection.ts new file mode 100644 index 0000000..9383fa8 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretProjection.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretProjection { + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SecretProjection.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretVolumeSource.ts new file mode 100644 index 0000000..2a8b31a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecretVolumeSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Specify whether the Secret or its keys must be defined + */ + 'optional'?: boolean; + /** + * Name of the secret in the pod\'s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + */ + 'secretName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "secretName", + "baseName": "secretName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SecretVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecurityContext.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecurityContext.ts new file mode 100644 index 0000000..6a18414 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1SecurityContext.ts @@ -0,0 +1,133 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecurityContext { + /** + * 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. + */ + 'allowPrivilegeEscalation'?: boolean; + 'capabilities'?: IoK8sApiCoreV1Capabilities; + /** + * 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. + */ + 'privileged'?: boolean; + /** + * 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. + */ + 'procMount'?: string; + /** + * 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. + */ + 'readOnlyRootFilesystem'?: boolean; + /** + * 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. + */ + 'runAsGroup'?: number; + /** + * 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. + */ + 'runAsNonRoot'?: boolean; + /** + * 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. + */ + 'runAsUser'?: number; + 'seLinuxOptions'?: IoK8sApiCoreV1SELinuxOptions; + 'seccompProfile'?: IoK8sApiCoreV1SeccompProfile; + 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allowPrivilegeEscalation", + "baseName": "allowPrivilegeEscalation", + "type": "boolean", + "format": "" + }, + { + "name": "capabilities", + "baseName": "capabilities", + "type": "IoK8sApiCoreV1Capabilities", + "format": "" + }, + { + "name": "privileged", + "baseName": "privileged", + "type": "boolean", + "format": "" + }, + { + "name": "procMount", + "baseName": "procMount", + "type": "string", + "format": "" + }, + { + "name": "readOnlyRootFilesystem", + "baseName": "readOnlyRootFilesystem", + "type": "boolean", + "format": "" + }, + { + "name": "runAsGroup", + "baseName": "runAsGroup", + "type": "number", + "format": "" + }, + { + "name": "runAsNonRoot", + "baseName": "runAsNonRoot", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUser", + "baseName": "runAsUser", + "type": "number", + "format": "" + }, + { + "name": "seLinuxOptions", + "baseName": "seLinuxOptions", + "type": "IoK8sApiCoreV1SELinuxOptions", + "format": "" + }, + { + "name": "seccompProfile", + "baseName": "seccompProfile", + "type": "IoK8sApiCoreV1SeccompProfile", + "format": "" + }, + { + "name": "windowsOptions", + "baseName": "windowsOptions", + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SecurityContext.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts new file mode 100644 index 0000000..c4193be --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1ServiceAccountTokenProjection { + /** + * 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. + */ + 'audience'?: string; + /** + * 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. + */ + 'expirationSeconds'?: number; + /** + * Path is the path relative to the mount point of the file to project the token into. + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "audience", + "baseName": "audience", + "type": "string", + "format": "" + }, + { + "name": "expirationSeconds", + "baseName": "expirationSeconds", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ServiceAccountTokenProjection.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServicePort.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServicePort.ts new file mode 100644 index 0000000..8c66bdb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1ServicePort.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ServicePort contains information on service\'s port. +*/ +export class IoK8sApiCoreV1ServicePort { + /** + * 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. + */ + 'appProtocol'?: string; + /** + * 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. + */ + 'name'?: string; + /** + * 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 + */ + 'nodePort'?: number; + /** + * The port that will be exposed by this service. + */ + 'port': number; + /** + * 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; + 'targetPort'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "appProtocol", + "baseName": "appProtocol", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nodePort", + "baseName": "nodePort", + "type": "number", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "number", + "format": "" + }, + { + "name": "protocol", + "baseName": "protocol", + "type": "IoK8sApiCoreV1ServicePortProtocolEnum", + "format": "" + }, + { + "name": "targetPort", + "baseName": "targetPort", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ServicePort.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ServicePortProtocolEnum = "SCTP" | "TCP" | "UDP" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1StorageOSVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1StorageOSVolumeSource.ts new file mode 100644 index 0000000..85769f3 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1StorageOSVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a StorageOS persistent volume resource. +*/ +export class IoK8sApiCoreV1StorageOSVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + */ + 'volumeName'?: string; + /** + * VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod\'s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. + */ + 'volumeNamespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + }, + { + "name": "volumeNamespace", + "baseName": "volumeNamespace", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1StorageOSVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Sysctl.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Sysctl.ts new file mode 100644 index 0000000..92b2dc1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Sysctl.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Sysctl defines a kernel parameter to be set +*/ +export class IoK8sApiCoreV1Sysctl { + /** + * Name of a property to set + */ + 'name': string; + /** + * Value of a property to set + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Sysctl.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TCPSocketAction.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TCPSocketAction.ts new file mode 100644 index 0000000..859b6b6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TCPSocketAction.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TCPSocketAction describes an action based on opening a socket +*/ +export class IoK8sApiCoreV1TCPSocketAction { + /** + * Optional: Host name to connect to, defaults to the pod IP. + */ + 'host'?: string; + 'port': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1TCPSocketAction.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Toleration.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Toleration.ts new file mode 100644 index 0000000..774036a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Toleration.ts @@ -0,0 +1,85 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +*/ +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; + /** + * 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. + */ + 'key'?: string; + /** + * 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; + /** + * 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. + */ + 'tolerationSeconds'?: number; + /** + * Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "effect", + "baseName": "effect", + "type": "IoK8sApiCoreV1TolerationEffectEnum", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "IoK8sApiCoreV1TolerationOperatorEnum", + "format": "" + }, + { + "name": "tolerationSeconds", + "baseName": "tolerationSeconds", + "type": "number", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Toleration.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1TolerationEffectEnum = "NoExecute" | "NoSchedule" | "PreferNoSchedule" ; +export type IoK8sApiCoreV1TolerationOperatorEnum = "Equal" | "Exists" ; + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TypedLocalObjectReference.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TypedLocalObjectReference.ts new file mode 100644 index 0000000..fef071e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1TypedLocalObjectReference.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +*/ +export class IoK8sApiCoreV1TypedLocalObjectReference { + /** + * 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. + */ + 'apiGroup'?: string; + /** + * Kind is the type of resource being referenced + */ + 'kind': string; + /** + * Name is the name of resource being referenced + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiGroup", + "baseName": "apiGroup", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1TypedLocalObjectReference.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Volume.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Volume.ts new file mode 100644 index 0000000..5f86a72 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1Volume.ts @@ -0,0 +1,273 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Volume represents a named volume in a pod that may be accessed by any container in the pod. +*/ +export class IoK8sApiCoreV1Volume { + 'awsElasticBlockStore'?: IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource; + 'azureDisk'?: IoK8sApiCoreV1AzureDiskVolumeSource; + 'azureFile'?: IoK8sApiCoreV1AzureFileVolumeSource; + 'cephfs'?: IoK8sApiCoreV1CephFSVolumeSource; + 'cinder'?: IoK8sApiCoreV1CinderVolumeSource; + 'configMap'?: IoK8sApiCoreV1ConfigMapVolumeSource; + 'csi'?: IoK8sApiCoreV1CSIVolumeSource; + 'downwardAPI'?: IoK8sApiCoreV1DownwardAPIVolumeSource; + 'emptyDir'?: IoK8sApiCoreV1EmptyDirVolumeSource; + 'ephemeral'?: IoK8sApiCoreV1EphemeralVolumeSource; + 'fc'?: IoK8sApiCoreV1FCVolumeSource; + 'flexVolume'?: IoK8sApiCoreV1FlexVolumeSource; + 'flocker'?: IoK8sApiCoreV1FlockerVolumeSource; + 'gcePersistentDisk'?: IoK8sApiCoreV1GCEPersistentDiskVolumeSource; + 'gitRepo'?: IoK8sApiCoreV1GitRepoVolumeSource; + 'glusterfs'?: IoK8sApiCoreV1GlusterfsVolumeSource; + 'hostPath'?: IoK8sApiCoreV1HostPathVolumeSource; + 'iscsi'?: IoK8sApiCoreV1ISCSIVolumeSource; + /** + * 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 + */ + 'name': string; + 'nfs'?: IoK8sApiCoreV1NFSVolumeSource; + 'persistentVolumeClaim'?: IoK8sApiCoreV1PersistentVolumeClaimVolumeSource; + 'photonPersistentDisk'?: IoK8sApiCoreV1PhotonPersistentDiskVolumeSource; + 'portworxVolume'?: IoK8sApiCoreV1PortworxVolumeSource; + 'projected'?: IoK8sApiCoreV1ProjectedVolumeSource; + 'quobyte'?: IoK8sApiCoreV1QuobyteVolumeSource; + 'rbd'?: IoK8sApiCoreV1RBDVolumeSource; + 'scaleIO'?: IoK8sApiCoreV1ScaleIOVolumeSource; + 'secret'?: IoK8sApiCoreV1SecretVolumeSource; + 'storageos'?: IoK8sApiCoreV1StorageOSVolumeSource; + 'vsphereVolume'?: IoK8sApiCoreV1VsphereVirtualDiskVolumeSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "awsElasticBlockStore", + "baseName": "awsElasticBlockStore", + "type": "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", + "format": "" + }, + { + "name": "azureDisk", + "baseName": "azureDisk", + "type": "IoK8sApiCoreV1AzureDiskVolumeSource", + "format": "" + }, + { + "name": "azureFile", + "baseName": "azureFile", + "type": "IoK8sApiCoreV1AzureFileVolumeSource", + "format": "" + }, + { + "name": "cephfs", + "baseName": "cephfs", + "type": "IoK8sApiCoreV1CephFSVolumeSource", + "format": "" + }, + { + "name": "cinder", + "baseName": "cinder", + "type": "IoK8sApiCoreV1CinderVolumeSource", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapVolumeSource", + "format": "" + }, + { + "name": "csi", + "baseName": "csi", + "type": "IoK8sApiCoreV1CSIVolumeSource", + "format": "" + }, + { + "name": "downwardAPI", + "baseName": "downwardAPI", + "type": "IoK8sApiCoreV1DownwardAPIVolumeSource", + "format": "" + }, + { + "name": "emptyDir", + "baseName": "emptyDir", + "type": "IoK8sApiCoreV1EmptyDirVolumeSource", + "format": "" + }, + { + "name": "ephemeral", + "baseName": "ephemeral", + "type": "IoK8sApiCoreV1EphemeralVolumeSource", + "format": "" + }, + { + "name": "fc", + "baseName": "fc", + "type": "IoK8sApiCoreV1FCVolumeSource", + "format": "" + }, + { + "name": "flexVolume", + "baseName": "flexVolume", + "type": "IoK8sApiCoreV1FlexVolumeSource", + "format": "" + }, + { + "name": "flocker", + "baseName": "flocker", + "type": "IoK8sApiCoreV1FlockerVolumeSource", + "format": "" + }, + { + "name": "gcePersistentDisk", + "baseName": "gcePersistentDisk", + "type": "IoK8sApiCoreV1GCEPersistentDiskVolumeSource", + "format": "" + }, + { + "name": "gitRepo", + "baseName": "gitRepo", + "type": "IoK8sApiCoreV1GitRepoVolumeSource", + "format": "" + }, + { + "name": "glusterfs", + "baseName": "glusterfs", + "type": "IoK8sApiCoreV1GlusterfsVolumeSource", + "format": "" + }, + { + "name": "hostPath", + "baseName": "hostPath", + "type": "IoK8sApiCoreV1HostPathVolumeSource", + "format": "" + }, + { + "name": "iscsi", + "baseName": "iscsi", + "type": "IoK8sApiCoreV1ISCSIVolumeSource", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nfs", + "baseName": "nfs", + "type": "IoK8sApiCoreV1NFSVolumeSource", + "format": "" + }, + { + "name": "persistentVolumeClaim", + "baseName": "persistentVolumeClaim", + "type": "IoK8sApiCoreV1PersistentVolumeClaimVolumeSource", + "format": "" + }, + { + "name": "photonPersistentDisk", + "baseName": "photonPersistentDisk", + "type": "IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", + "format": "" + }, + { + "name": "portworxVolume", + "baseName": "portworxVolume", + "type": "IoK8sApiCoreV1PortworxVolumeSource", + "format": "" + }, + { + "name": "projected", + "baseName": "projected", + "type": "IoK8sApiCoreV1ProjectedVolumeSource", + "format": "" + }, + { + "name": "quobyte", + "baseName": "quobyte", + "type": "IoK8sApiCoreV1QuobyteVolumeSource", + "format": "" + }, + { + "name": "rbd", + "baseName": "rbd", + "type": "IoK8sApiCoreV1RBDVolumeSource", + "format": "" + }, + { + "name": "scaleIO", + "baseName": "scaleIO", + "type": "IoK8sApiCoreV1ScaleIOVolumeSource", + "format": "" + }, + { + "name": "secret", + "baseName": "secret", + "type": "IoK8sApiCoreV1SecretVolumeSource", + "format": "" + }, + { + "name": "storageos", + "baseName": "storageos", + "type": "IoK8sApiCoreV1StorageOSVolumeSource", + "format": "" + }, + { + "name": "vsphereVolume", + "baseName": "vsphereVolume", + "type": "IoK8sApiCoreV1VsphereVirtualDiskVolumeSource", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Volume.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeDevice.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeDevice.ts new file mode 100644 index 0000000..72cbd43 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeDevice.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* volumeDevice describes a mapping of a raw block device within a container. +*/ +export class IoK8sApiCoreV1VolumeDevice { + /** + * devicePath is the path inside of the container that the device will be mapped to. + */ + 'devicePath': string; + /** + * name must match the name of a persistentVolumeClaim in the pod + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devicePath", + "baseName": "devicePath", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1VolumeDevice.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeMount.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeMount.ts new file mode 100644 index 0000000..d4b0337 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeMount.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* VolumeMount describes a mounting of a Volume within a container. +*/ +export class IoK8sApiCoreV1VolumeMount { + /** + * Path within the container at which the volume should be mounted. Must not contain \':\'. + */ + 'mountPath': string; + /** + * 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. + */ + 'mountPropagation'?: string; + /** + * This must match the Name of a Volume. + */ + 'name': string; + /** + * Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. + */ + 'readOnly'?: boolean; + /** + * Path within the volume from which the container\'s volume should be mounted. Defaults to \"\" (volume\'s root). + */ + 'subPath'?: string; + /** + * 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. + */ + 'subPathExpr'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mountPath", + "baseName": "mountPath", + "type": "string", + "format": "" + }, + { + "name": "mountPropagation", + "baseName": "mountPropagation", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + }, + { + "name": "subPathExpr", + "baseName": "subPathExpr", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1VolumeMount.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeProjection.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeProjection.ts new file mode 100644 index 0000000..076fc11 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VolumeProjection.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Projection that may be projected along with other supported volume types +*/ +export class IoK8sApiCoreV1VolumeProjection { + 'configMap'?: IoK8sApiCoreV1ConfigMapProjection; + 'downwardAPI'?: IoK8sApiCoreV1DownwardAPIProjection; + 'secret'?: IoK8sApiCoreV1SecretProjection; + 'serviceAccountToken'?: IoK8sApiCoreV1ServiceAccountTokenProjection; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapProjection", + "format": "" + }, + { + "name": "downwardAPI", + "baseName": "downwardAPI", + "type": "IoK8sApiCoreV1DownwardAPIProjection", + "format": "" + }, + { + "name": "secret", + "baseName": "secret", + "type": "IoK8sApiCoreV1SecretProjection", + "format": "" + }, + { + "name": "serviceAccountToken", + "baseName": "serviceAccountToken", + "type": "IoK8sApiCoreV1ServiceAccountTokenProjection", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1VolumeProjection.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts new file mode 100644 index 0000000..efddfe2 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a vSphere volume resource. +*/ +export class IoK8sApiCoreV1VsphereVirtualDiskVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + */ + 'storagePolicyID'?: string; + /** + * Storage Policy Based Management (SPBM) profile name. + */ + 'storagePolicyName'?: string; + /** + * Path that identifies vSphere volume vmdk + */ + 'volumePath': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "storagePolicyID", + "baseName": "storagePolicyID", + "type": "string", + "format": "" + }, + { + "name": "storagePolicyName", + "baseName": "storagePolicyName", + "type": "string", + "format": "" + }, + { + "name": "volumePath", + "baseName": "volumePath", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts new file mode 100644 index 0000000..d5df670 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) +*/ +export class IoK8sApiCoreV1WeightedPodAffinityTerm { + 'podAffinityTerm': IoK8sApiCoreV1PodAffinityTerm; + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + 'weight': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "podAffinityTerm", + "baseName": "podAffinityTerm", + "type": "IoK8sApiCoreV1PodAffinityTerm", + "format": "" + }, + { + "name": "weight", + "baseName": "weight", + "type": "number", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1WeightedPodAffinityTerm.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts new file mode 100644 index 0000000..85bdc38 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* WindowsSecurityContextOptions contain Windows-specific options and credentials. +*/ +export class IoK8sApiCoreV1WindowsSecurityContextOptions { + /** + * 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. + */ + 'gmsaCredentialSpec'?: string; + /** + * GMSACredentialSpecName is the name of the GMSA credential spec to use. + */ + 'gmsaCredentialSpecName'?: string; + /** + * 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. + */ + 'hostProcess'?: boolean; + /** + * 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. + */ + 'runAsUserName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "gmsaCredentialSpec", + "baseName": "gmsaCredentialSpec", + "type": "string", + "format": "" + }, + { + "name": "gmsaCredentialSpecName", + "baseName": "gmsaCredentialSpecName", + "type": "string", + "format": "" + }, + { + "name": "hostProcess", + "baseName": "hostProcess", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUserName", + "baseName": "runAsUserName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1WindowsSecurityContextOptions.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts new file mode 100644 index 0000000..5d3ef24 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. +*/ +export class IoK8sApiPolicyV1PodDisruptionBudgetSpec { + 'maxUnavailable'?: string; + 'minAvailable'?: string; + 'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "maxUnavailable", + "baseName": "maxUnavailable", + "type": "string", + "format": "" + }, + { + "name": "minAvailable", + "baseName": "minAvailable", + "type": "string", + "format": "" + }, + { + "name": "selector", + "baseName": "selector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiPolicyV1PodDisruptionBudgetSpec.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts new file mode 100644 index 0000000..8c467a9 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CreateOptions may be provided when creating an API object. +*/ +export class IoK8sApimachineryPkgApisMetaV1CreateOptions { + 'dryRun'?: Array; + 'fieldManager'?: string; + 'fieldValidation'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dryRun", + "baseName": "dryRun", + "type": "Array", + "format": "" + }, + { + "name": "fieldManager", + "baseName": "fieldManager", + "type": "string", + "format": "" + }, + { + "name": "fieldValidation", + "baseName": "fieldValidation", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1CreateOptions.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts new file mode 100644 index 0000000..f6cb5d7 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* +protobuf.options.(gogoproto.goproto_stringer)=false +*/ +export class IoK8sApimachineryPkgApisMetaV1GroupVersionResource { + 'group'?: string; + 'resource'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "group", + "baseName": "group", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1GroupVersionResource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts new file mode 100644 index 0000000..4d85a23 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApimachineryPkgApisMetaV1LabelSelector { + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + 'matchExpressions'?: Array; + /** + * 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. + */ + 'matchLabels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchExpressions", + "baseName": "matchExpressions", + "type": "Array", + "format": "" + }, + { + "name": "matchLabels", + "baseName": "matchLabels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1LabelSelector.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts new file mode 100644 index 0000000..7ef4c7d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +*/ +export class IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement { + /** + * key is the label key that the selector applies to. + */ + 'key': string; + /** + * operator represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + 'operator': string; + /** + * 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. + */ + 'values'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "string", + "format": "" + }, + { + "name": "values", + "baseName": "values", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts new file mode 100644 index 0000000..5947575 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. +*/ +export class IoK8sApimachineryPkgApisMetaV1ListMeta { + /** + * 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. + */ + '_continue'?: string; + /** + * 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. + */ + 'remainingItemCount'?: number; + /** + * 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 + */ + 'resourceVersion'?: string; + /** + * selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + */ + 'selfLink'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "_continue", + "baseName": "continue", + "type": "string", + "format": "" + }, + { + "name": "remainingItemCount", + "baseName": "remainingItemCount", + "type": "number", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "selfLink", + "baseName": "selfLink", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1ListMeta.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts new file mode 100644 index 0000000..87ccd31 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. +*/ +export class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry { + /** + * 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. + */ + 'apiVersion'?: string; + /** + * FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" + */ + 'fieldsType'?: string; + /** + * 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; + /** + * Manager is an identifier of the workflow managing these fields. + */ + 'manager'?: string; + /** + * Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are \'Apply\' and \'Update\'. + */ + 'operation'?: string; + /** + * 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. + */ + 'subresource'?: string; + /** + * 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. + */ + 'time'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldsType", + "baseName": "fieldsType", + "type": "string", + "format": "" + }, + { + "name": "fieldsV1", + "baseName": "fieldsV1", + "type": "any", + "format": "" + }, + { + "name": "manager", + "baseName": "manager", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "subresource", + "baseName": "subresource", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts new file mode 100644 index 0000000..54b5134 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts @@ -0,0 +1,193 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { HttpFile } from '../http/http'; + +/** +* ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. +*/ +export class IoK8sApimachineryPkgApisMetaV1ObjectMeta { + /** + * 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 + */ + 'annotations'?: { [key: string]: string; }; + /** + * 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. + */ + 'clusterName'?: string; + /** + * 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. + */ + 'creationTimestamp'?: Date; + /** + * 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. + */ + 'deletionGracePeriodSeconds'?: number; + /** + * 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. + */ + 'deletionTimestamp'?: Date; + /** + * 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. + */ + 'finalizers'?: Array; + /** + * 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. If 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). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + */ + 'generateName'?: string; + /** + * A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. + */ + 'generation'?: number; + /** + * 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 + */ + 'labels'?: { [key: string]: string; }; + /** + * 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. + */ + 'managedFields'?: Array; + /** + * 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 + */ + 'name'?: string; + /** + * 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. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces + */ + 'namespace'?: string; + /** + * 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. + */ + 'ownerReferences'?: Array; + /** + * 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. Populated 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 + */ + 'resourceVersion'?: string; + /** + * SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + */ + 'selfLink'?: string; + /** + * 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. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + */ + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "clusterName", + "baseName": "clusterName", + "type": "string", + "format": "" + }, + { + "name": "creationTimestamp", + "baseName": "creationTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "deletionGracePeriodSeconds", + "baseName": "deletionGracePeriodSeconds", + "type": "number", + "format": "" + }, + { + "name": "deletionTimestamp", + "baseName": "deletionTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "finalizers", + "baseName": "finalizers", + "type": "Array", + "format": "" + }, + { + "name": "generateName", + "baseName": "generateName", + "type": "string", + "format": "" + }, + { + "name": "generation", + "baseName": "generation", + "type": "number", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "managedFields", + "baseName": "managedFields", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "ownerReferences", + "baseName": "ownerReferences", + "type": "Array", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "selfLink", + "baseName": "selfLink", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1ObjectMeta.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts new file mode 100644 index 0000000..9134a62 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApimachineryPkgApisMetaV1OwnerReference { + /** + * API version of the referent. + */ + 'apiVersion': string; + /** + * 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. + */ + 'blockOwnerDeletion'?: boolean; + /** + * If true, this reference points to the managing controller. + */ + 'controller'?: boolean; + /** + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind': string; + /** + * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + */ + 'name': string; + /** + * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + */ + 'uid': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "blockOwnerDeletion", + "baseName": "blockOwnerDeletion", + "type": "boolean", + "format": "" + }, + { + "name": "controller", + "baseName": "controller", + "type": "boolean", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1OwnerReference.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts new file mode 100644 index 0000000..dcc7a46 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. +*/ +export class IoK8sApimachineryPkgApisMetaV1StatusCause { + /** + * 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. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" + */ + 'field'?: string; + /** + * A human-readable description of the cause of the error. This field may be presented as-is to a reader. + */ + 'message'?: string; + /** + * A machine-readable description of the cause of the error. If this value is empty there is no information available. + */ + 'reason'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "field", + "baseName": "field", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1StatusCause.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/ObjectSerializer.ts b/plugins/argo-workflows-backend/api/client/models/ObjectSerializer.ts new file mode 100644 index 0000000..59bd7bd --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/ObjectSerializer.ts @@ -0,0 +1,1380 @@ +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'; + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container , IoK8sApiCoreV1ContainerImagePullPolicyEnum , IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort , IoK8sApiCoreV1ContainerPortProtocolEnum } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction , IoK8sApiCoreV1HTTPGetActionSchemeEnum } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement , IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition , IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus , IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile , IoK8sApiCoreV1SeccompProfileTypeEnum } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort , IoK8sApiCoreV1ServicePortProtocolEnum } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration, IoK8sApiCoreV1TolerationEffectEnum , IoK8sApiCoreV1TolerationOperatorEnum } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +/* tslint:disable:no-unused-variable */ +let primitives = [ + "string", + "boolean", + "double", + "integer", + "long", + "float", + "number", + "any" + ]; + +const supportedMediaTypes: { [mediaType: string]: number } = { + "application/json": Infinity, + "application/octet-stream": 0, + "application/x-www-form-urlencoded": 0 +} + + +let enumsMap: Set = new Set([ + "IoK8sApiCoreV1ContainerImagePullPolicyEnum", + "IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum", + "IoK8sApiCoreV1ContainerPortProtocolEnum", + "IoK8sApiCoreV1HTTPGetActionSchemeEnum", + "IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum", + "IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum", + "IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum", + "IoK8sApiCoreV1SeccompProfileTypeEnum", + "IoK8sApiCoreV1ServicePortProtocolEnum", + "IoK8sApiCoreV1TolerationEffectEnum", + "IoK8sApiCoreV1TolerationOperatorEnum", +]); + +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.has(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, format: 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 date of data) { + transformedData.push(ObjectSerializer.serialize(date, subType, format)); + } + return transformedData; + } else if (type === "Date") { + if (format == "date") { + let month = data.getMonth()+1 + month = month < 10 ? "0" + month.toString() : month.toString() + let day = data.getDate(); + day = day < 10 ? "0" + day.toString() : day.toString(); + + return data.getFullYear() + "-" + month + "-" + day; + } else { + return data.toISOString(); + } + } else { + if (enumsMap.has(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 attributeType of attributeTypes) { + instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type, attributeType.format); + } + return instance; + } + } + + public static deserialize(data: any, type: string, format: 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 date of data) { + transformedData.push(ObjectSerializer.deserialize(date, subType, format)); + } + return transformedData; + } else if (type === "Date") { + return new Date(data); + } else { + if (enumsMap.has(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 attributeType of attributeTypes) { + let value = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type, attributeType.format); + if (value !== undefined) { + instance[attributeType.name] = value; + } + } + return instance; + } + } + + + /** + * Normalize media type + * + * We currently do not handle any media types attributes, i.e. anything + * after a semicolon. All content is assumed to be UTF-8 compatible. + */ + public static normalizeMediaType(mediaType: string | undefined): string | undefined { + if (mediaType === undefined) { + return undefined; + } + return mediaType.split(";")[0].trim().toLowerCase(); + } + + /** + * From a list of possible media types, choose the one we can handle best. + * + * The order of the given media types does not have any impact on the choice + * made. + */ + public static getPreferredMediaType(mediaTypes: Array): string { + /** According to OAS 3 we should default to json */ + if (!mediaTypes) { + return "application/json"; + } + + const normalMediaTypes = mediaTypes.map(this.normalizeMediaType); + let selectedMediaType: string | undefined = undefined; + let selectedRank: number = -Infinity; + for (const mediaType of normalMediaTypes) { + if (supportedMediaTypes[mediaType!] > selectedRank) { + selectedMediaType = mediaType; + selectedRank = supportedMediaTypes[mediaType!]; + } + } + + if (selectedMediaType === undefined) { + throw new Error("None of the given media types are supported: " + mediaTypes.join(", ")); + } + + return selectedMediaType!; + } + + /** + * Convert data to a string according the given media type + */ + public static stringify(data: any, mediaType: string): string { + if (mediaType === "text/plain") { + return String(data); + } + + if (mediaType === "application/json") { + return JSON.stringify(data); + } + + throw new Error("The mediaType " + mediaType + " is not supported by ObjectSerializer.stringify."); + } + + /** + * Parse data from a string according to the given media type + */ + public static parse(rawData: string, mediaType: string | undefined) { + if (mediaType === undefined) { + throw new Error("Cannot parse content. No Content-Type defined."); + } + + if (mediaType === "text/plain") { + return rawData; + } + + if (mediaType === "application/json") { + return JSON.parse(rawData); + } + + if (mediaType === "text/html") { + return rawData; + } + + throw new Error("The mediaType " + mediaType + " is not supported by ObjectSerializer.parse."); + } +} diff --git a/plugins/argo-workflows-backend/api/client/models/SensorCreateSensorRequest.ts b/plugins/argo-workflows-backend/api/client/models/SensorCreateSensorRequest.ts new file mode 100644 index 0000000..334ebca --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/SensorCreateSensorRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class SensorCreateSensorRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'sensor'?: IoArgoprojEventsV1alpha1Sensor; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensor", + "baseName": "sensor", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SensorCreateSensorRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/SensorLogEntry.ts b/plugins/argo-workflows-backend/api/client/models/SensorLogEntry.ts new file mode 100644 index 0000000..d0baeb4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/SensorLogEntry.ts @@ -0,0 +1,87 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class SensorLogEntry { + 'dependencyName'?: string; + 'eventContext'?: string; + 'level'?: string; + 'msg'?: string; + 'namespace'?: string; + 'sensorName'?: string; + /** + * 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. + */ + 'time'?: Date; + 'triggerName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dependencyName", + "baseName": "dependencyName", + "type": "string", + "format": "" + }, + { + "name": "eventContext", + "baseName": "eventContext", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "msg", + "baseName": "msg", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensorName", + "baseName": "sensorName", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + }, + { + "name": "triggerName", + "baseName": "triggerName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SensorLogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/SensorSensorWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/SensorSensorWatchEvent.ts new file mode 100644 index 0000000..9c3bec5 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/SensorSensorWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { HttpFile } from '../http/http'; + +export class SensorSensorWatchEvent { + 'object'?: IoArgoprojEventsV1alpha1Sensor; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SensorSensorWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/SensorUpdateSensorRequest.ts b/plugins/argo-workflows-backend/api/client/models/SensorUpdateSensorRequest.ts new file mode 100644 index 0000000..e817dbc --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/SensorUpdateSensorRequest.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { HttpFile } from '../http/http'; + +export class SensorUpdateSensorRequest { + 'name'?: string; + 'namespace'?: string; + 'sensor'?: IoArgoprojEventsV1alpha1Sensor; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensor", + "baseName": "sensor", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SensorUpdateSensorRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceEventSourceWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceEventSourceWatchEvent.ts new file mode 100644 index 0000000..3b246f4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceEventSourceWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfEventsourceEventSourceWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: EventsourceEventSourceWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "EventsourceEventSourceWatchEvent", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfEventsourceEventSourceWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceLogEntry.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceLogEntry.ts new file mode 100644 index 0000000..77eb233 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfEventsourceLogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfEventsourceLogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: EventsourceLogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "EventsourceLogEntry", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfEventsourceLogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts new file mode 100644 index 0000000..90188b6 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoArgoprojWorkflowV1alpha1LogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoArgoprojWorkflowV1alpha1LogEntry", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts new file mode 100644 index 0000000..0cbde75 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoArgoprojWorkflowV1alpha1WorkflowWatchEvent", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoK8sApiCoreV1Event.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoK8sApiCoreV1Event.ts new file mode 100644 index 0000000..2561ab1 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfIoK8sApiCoreV1Event.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoK8sApiCoreV1Event { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoK8sApiCoreV1Event; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoK8sApiCoreV1Event", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfIoK8sApiCoreV1Event.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorLogEntry.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorLogEntry.ts new file mode 100644 index 0000000..6015c32 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorLogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfSensorLogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: SensorLogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "SensorLogEntry", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfSensorLogEntry.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorSensorWatchEvent.ts b/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorSensorWatchEvent.ts new file mode 100644 index 0000000..2954ca4 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/StreamResultOfSensorSensorWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfSensorSensorWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: SensorSensorWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "SensorSensorWatchEvent", + "format": "" + } ]; + + static getAttributeTypeMap() { + return StreamResultOfSensorSensorWatchEvent.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows-backend/api/client/models/all.ts b/plugins/argo-workflows-backend/api/client/models/all.ts new file mode 100644 index 0000000..0bdefaa --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/models/all.ts @@ -0,0 +1,381 @@ +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-backend/api/client/package.json b/plugins/argo-workflows-backend/api/client/package.json new file mode 100644 index 0000000..c79569e --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/package.json @@ -0,0 +1,36 @@ +{ + "name": "", + "version": "", + "description": "OpenAPI client for ", + "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, + "keywords": [ + "fetch", + "typescript", + "openapi-client", + "openapi-generator" + ], + "license": "Unlicense", + "main": "./dist/index.js", + "type": "commonjs", + "exports": { + ".": "./dist/index.js" + }, + "typings": "./dist/index.d.ts", + "scripts": { + "build": "tsc", + "prepare": "npm run build" + }, + "dependencies": { + "whatwg-fetch": "^3.0.0", + "es6-promise": "^4.2.4", + "url-parse": "^1.4.3" + }, + "devDependencies": { + "typescript": "^4.0", + "@types/url-parse": "1.4.4" + } +} diff --git a/plugins/argo-workflows-backend/api/client/rxjsStub.ts b/plugins/argo-workflows-backend/api/client/rxjsStub.ts new file mode 100644 index 0000000..4c73715 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/rxjsStub.ts @@ -0,0 +1,27 @@ +export class Observable { + constructor(private promise: Promise) {} + + toPromise() { + return this.promise; + } + + pipe(callback: (value: T) => S | Promise): Observable { + return new Observable(this.promise.then(callback)); + } +} + +export function from(promise: Promise) { + return new Observable(promise); +} + +export function of(value: T) { + return new Observable(Promise.resolve(value)); +} + +export function mergeMap(callback: (value: T) => Observable) { + return (value: T) => callback(value).toPromise(); +} + +export function map(callback: any) { + return callback; +} diff --git a/plugins/argo-workflows-backend/api/client/servers.ts b/plugins/argo-workflows-backend/api/client/servers.ts new file mode 100644 index 0000000..9e8a781 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/servers.ts @@ -0,0 +1,56 @@ +import { RequestContext, HttpMethod } from "./http/http"; + +export interface BaseServerConfiguration { + makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; +} + +/** + * + * Represents the configuration of a server including its + * url template and variable configuration based on the url. + * + */ +export class ServerConfiguration implements BaseServerConfiguration { + public constructor(private url: string, private variableConfiguration: T) {} + + /** + * Sets the value of the variables of this server. Variables are included in + * the `url` of this ServerConfiguration in the form `{variableName}` + * + * @param variableConfiguration a partial variable configuration for the + * variables contained in the url + */ + public setVariables(variableConfiguration: Partial) { + Object.assign(this.variableConfiguration, variableConfiguration); + } + + public getConfiguration(): T { + return this.variableConfiguration + } + + private getUrl() { + let replacedUrl = this.url; + for (const key in this.variableConfiguration) { + var re = new RegExp("{" + key + "}","g"); + replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]); + } + return replacedUrl + } + + /** + * Creates a new request context for this server using the url with variables + * replaced with their respective values and the endpoint of the request appended. + * + * @param endpoint the endpoint to be queried on the server + * @param httpMethod httpMethod to be used + * + */ + public makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext { + return new RequestContext(this.getUrl() + endpoint, httpMethod); + } +} + +export const server1 = new ServerConfiguration<{ }>("http://localhost:2746", { }) +export const server2 = new ServerConfiguration<{ }>("https://localhost:2746", { }) + +export const servers = [server1, server2]; diff --git a/plugins/argo-workflows-backend/api/client/tsconfig.json b/plugins/argo-workflows-backend/api/client/tsconfig.json new file mode 100644 index 0000000..aa173eb --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "strict": true, + /* Basic Options */ + "target": "es5", + "moduleResolution": "node", + "declaration": true, + + /* Additional Checks */ + "noUnusedLocals": false, /* Report errors on unused locals. */ // TODO: reenable (unused imports!) + "noUnusedParameters": false, /* Report errors on unused parameters. */ // TODO: set to true again + "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + + "removeComments": true, + "sourceMap": true, + "outDir": "./dist", + "noLib": false, + "lib": [ "es6", "dom" ], + }, + "exclude": [ + "dist", + "node_modules" + ], + "filesGlob": [ + "./**/*.ts", + ] +} diff --git a/plugins/argo-workflows-backend/api/client/types/ObjectParamAPI.ts b/plugins/argo-workflows-backend/api/client/types/ObjectParamAPI.ts new file mode 100644 index 0000000..251525a --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/types/ObjectParamAPI.ts @@ -0,0 +1,3306 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +import { ObservableArchivedWorkflowServiceApi } from "./ObservableAPI"; +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceDeleteArchivedWorkflow + */ + uid: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceDeleteArchivedWorkflow + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + uid: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + namespace?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + name?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelKeys + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + namePrefix?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceResubmitArchivedWorkflow + */ + uid: string + /** + * + * @type IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceResubmitArchivedWorkflow + */ + body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceRetryArchivedWorkflow + */ + uid: string + /** + * + * @type IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceRetryArchivedWorkflow + */ + body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest +} + +export class ObjectArchivedWorkflowServiceApi { + private api: ObservableArchivedWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: ArchivedWorkflowServiceApiRequestFactory, responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor) { + this.api = new ObservableArchivedWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceDeleteArchivedWorkflow(param.uid, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceGetArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceGetArchivedWorkflow(param.uid, param.namespace, param.name, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflowLabelKeys(param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflowLabelValues(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflowLabelValues(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflows(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflows(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.namePrefix, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceResubmitArchivedWorkflow(param.uid, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceRetryArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceRetryArchivedWorkflow(param.uid, param.body, options).toPromise(); + } + +} + +import { ObservableArtifactServiceApi } from "./ObservableAPI"; +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; + +export interface ArtifactServiceApiArtifactServiceGetArtifactFileRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + namespace: string + /** + * + * @type 'workflow' | 'archived-workflows ' + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + idDiscriminator: 'workflow' | 'archived-workflows ' + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + id: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + artifactName: string + /** + * + * @type 'outputs' + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + artifactDiscriminator: 'outputs' +} + +export interface ArtifactServiceApiArtifactServiceGetInputArtifactRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + namespace: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + name: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + uid: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetOutputArtifactRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + namespace: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + name: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + uid: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + artifactName: string +} + +export class ObjectArtifactServiceApi { + private api: ObservableArtifactServiceApi + + public constructor(configuration: Configuration, requestFactory?: ArtifactServiceApiRequestFactory, responseProcessor?: ArtifactServiceApiResponseProcessor) { + this.api = new ObservableArtifactServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * Get an artifact. + * @param param the request object + */ + public artifactServiceGetArtifactFile(param: ArtifactServiceApiArtifactServiceGetArtifactFileRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetArtifactFile(param.namespace, param.idDiscriminator, param.id, param.nodeId, param.artifactName, param.artifactDiscriminator, options).toPromise(); + } + + /** + * Get an input artifact. + * @param param the request object + */ + public artifactServiceGetInputArtifact(param: ArtifactServiceApiArtifactServiceGetInputArtifactRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetInputArtifact(param.namespace, param.name, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an input artifact by UID. + * @param param the request object + */ + public artifactServiceGetInputArtifactByUID(param: ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetInputArtifactByUID(param.uid, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an output artifact. + * @param param the request object + */ + public artifactServiceGetOutputArtifact(param: ArtifactServiceApiArtifactServiceGetOutputArtifactRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetOutputArtifact(param.namespace, param.name, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an output artifact by UID. + * @param param the request object + */ + public artifactServiceGetOutputArtifactByUID(param: ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetOutputArtifactByUID(param.uid, param.nodeId, param.artifactName, options).toPromise(); + } + +} + +import { ObservableClusterWorkflowTemplateServiceApi } from "./ObservableAPI"; +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceCreateClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest { + /** + * + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + name: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsDryRun?: Array +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest { + /** + * + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceGetClusterWorkflowTemplate + */ + name: string + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceGetClusterWorkflowTemplate + */ + getOptionsResourceVersion?: string +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceLintClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsContinue?: string +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest { + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest +} + +export class ObjectClusterWorkflowTemplateServiceApi { + private api: ObservableClusterWorkflowTemplateServiceApi + + public constructor(configuration: Configuration, requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor) { + this.api = new ObservableClusterWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceListClusterWorkflowTemplates(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest = {}, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(param.name, param.body, options).toPromise(); + } + +} + +import { ObservableCronWorkflowServiceApi } from "./ObservableAPI"; +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; + +export interface CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceCreateCronWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceCreateCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + name: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsDryRun?: Array +} + +export interface CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + name: string + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + getOptionsResourceVersion?: string +} + +export interface CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceLintCronWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceLintCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsContinue?: string +} + +export interface CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + namespace: string + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest +} + +export class ObjectCronWorkflowServiceApi { + private api: ObservableCronWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: CronWorkflowServiceApiRequestFactory, responseProcessor?: CronWorkflowServiceApiResponseProcessor) { + this.api = new ObservableCronWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceCreateCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceCreateCronWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceDeleteCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceDeleteCronWorkflow(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceGetCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceGetCronWorkflow(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceLintCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceLintCronWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceListCronWorkflows(param: CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceListCronWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceResumeCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceResumeCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceSuspendCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceSuspendCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceUpdateCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceUpdateCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + +} + +import { ObservableEventServiceApi } from "./ObservableAPI"; +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; + +export interface EventServiceApiEventServiceListWorkflowEventBindingsRequest { + /** + * + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsContinue?: string +} + +export interface EventServiceApiEventServiceReceiveEventRequest { + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceReceiveEvent + */ + namespace: string + /** + * 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)` + * @type string + * @memberof EventServiceApieventServiceReceiveEvent + */ + discriminator: string + /** + * The event itself can be any data. + * @type any + * @memberof EventServiceApieventServiceReceiveEvent + */ + body: any +} + +export class ObjectEventServiceApi { + private api: ObservableEventServiceApi + + public constructor(configuration: Configuration, requestFactory?: EventServiceApiRequestFactory, responseProcessor?: EventServiceApiResponseProcessor) { + this.api = new ObservableEventServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public eventServiceListWorkflowEventBindings(param: EventServiceApiEventServiceListWorkflowEventBindingsRequest, options?: Configuration): Promise { + return this.api.eventServiceListWorkflowEventBindings(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventServiceReceiveEvent(param: EventServiceApiEventServiceReceiveEventRequest, options?: Configuration): Promise { + return this.api.eventServiceReceiveEvent(param.namespace, param.discriminator, param.body, options).toPromise(); + } + +} + +import { ObservableEventSourceServiceApi } from "./ObservableAPI"; +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; + +export interface EventSourceServiceApiEventSourceServiceCreateEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceCreateEventSource + */ + namespace: string + /** + * + * @type EventsourceCreateEventSourceRequest + * @memberof EventSourceServiceApieventSourceServiceCreateEventSource + */ + body: EventsourceCreateEventSourceRequest +} + +export interface EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + name: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsDryRun?: Array +} + +export interface EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + namespace: string + /** + * optional - only return entries for this event source. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + name?: string + /** + * optional - only return entries for this event source type (e.g. `webhook`). + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + eventSourceType?: string + /** + * optional - only return entries for this event name (e.g. `example`). + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + eventName?: string + /** + * optional - only return entries where `msg` matches this regular expression. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + grep?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsInsecureSkipTLSVerifyBackend?: boolean +} + +export interface EventSourceServiceApiEventSourceServiceGetEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceGetEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceGetEventSource + */ + name: string +} + +export interface EventSourceServiceApiEventSourceServiceListEventSourcesRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsContinue?: string +} + +export interface EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + name: string + /** + * + * @type EventsourceUpdateEventSourceRequest + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + body: EventsourceUpdateEventSourceRequest +} + +export interface EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsContinue?: string +} + +export class ObjectEventSourceServiceApi { + private api: ObservableEventSourceServiceApi + + public constructor(configuration: Configuration, requestFactory?: EventSourceServiceApiRequestFactory, responseProcessor?: EventSourceServiceApiResponseProcessor) { + this.api = new ObservableEventSourceServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public eventSourceServiceCreateEventSource(param: EventSourceServiceApiEventSourceServiceCreateEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceCreateEventSource(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceDeleteEventSource(param: EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceDeleteEventSource(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceEventSourcesLogs(param: EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceEventSourcesLogs(param.namespace, param.name, param.eventSourceType, param.eventName, param.grep, param.podLogOptionsContainer, param.podLogOptionsFollow, param.podLogOptionsPrevious, param.podLogOptionsSinceSeconds, param.podLogOptionsSinceTimeSeconds, param.podLogOptionsSinceTimeNanos, param.podLogOptionsTimestamps, param.podLogOptionsTailLines, param.podLogOptionsLimitBytes, param.podLogOptionsInsecureSkipTLSVerifyBackend, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceGetEventSource(param: EventSourceServiceApiEventSourceServiceGetEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceGetEventSource(param.namespace, param.name, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceListEventSources(param: EventSourceServiceApiEventSourceServiceListEventSourcesRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceListEventSources(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceUpdateEventSource(param: EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceUpdateEventSource(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceWatchEventSources(param: EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceWatchEventSources(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + +} + +import { ObservableInfoServiceApi } from "./ObservableAPI"; +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; + +export interface InfoServiceApiInfoServiceCollectEventRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1CollectEventRequest + * @memberof InfoServiceApiinfoServiceCollectEvent + */ + body: IoArgoprojWorkflowV1alpha1CollectEventRequest +} + +export interface InfoServiceApiInfoServiceGetInfoRequest { +} + +export interface InfoServiceApiInfoServiceGetUserInfoRequest { +} + +export interface InfoServiceApiInfoServiceGetVersionRequest { +} + +export class ObjectInfoServiceApi { + private api: ObservableInfoServiceApi + + public constructor(configuration: Configuration, requestFactory?: InfoServiceApiRequestFactory, responseProcessor?: InfoServiceApiResponseProcessor) { + this.api = new ObservableInfoServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public infoServiceCollectEvent(param: InfoServiceApiInfoServiceCollectEventRequest, options?: Configuration): Promise { + return this.api.infoServiceCollectEvent(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetInfo(param: InfoServiceApiInfoServiceGetInfoRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetInfo( options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetUserInfo(param: InfoServiceApiInfoServiceGetUserInfoRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetUserInfo( options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetVersion(param: InfoServiceApiInfoServiceGetVersionRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetVersion( options).toPromise(); + } + +} + +import { ObservableSensorServiceApi } from "./ObservableAPI"; +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; + +export interface SensorServiceApiSensorServiceCreateSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceCreateSensor + */ + namespace: string + /** + * + * @type SensorCreateSensorRequest + * @memberof SensorServiceApisensorServiceCreateSensor + */ + body: SensorCreateSensorRequest +} + +export interface SensorServiceApiSensorServiceDeleteSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + name: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsDryRun?: Array +} + +export interface SensorServiceApiSensorServiceGetSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + name: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + getOptionsResourceVersion?: string +} + +export interface SensorServiceApiSensorServiceListSensorsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsContinue?: string +} + +export interface SensorServiceApiSensorServiceSensorsLogsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + namespace: string + /** + * optional - only return entries for this sensor name. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + name?: string + /** + * optional - only return entries for this trigger. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + triggerName?: string + /** + * option - only return entries where `msg` contains this regular expressions. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + grep?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsInsecureSkipTLSVerifyBackend?: boolean +} + +export interface SensorServiceApiSensorServiceUpdateSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + name: string + /** + * + * @type SensorUpdateSensorRequest + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + body: SensorUpdateSensorRequest +} + +export interface SensorServiceApiSensorServiceWatchSensorsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsContinue?: string +} + +export class ObjectSensorServiceApi { + private api: ObservableSensorServiceApi + + public constructor(configuration: Configuration, requestFactory?: SensorServiceApiRequestFactory, responseProcessor?: SensorServiceApiResponseProcessor) { + this.api = new ObservableSensorServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public sensorServiceCreateSensor(param: SensorServiceApiSensorServiceCreateSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceCreateSensor(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceDeleteSensor(param: SensorServiceApiSensorServiceDeleteSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceDeleteSensor(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceGetSensor(param: SensorServiceApiSensorServiceGetSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceGetSensor(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceListSensors(param: SensorServiceApiSensorServiceListSensorsRequest, options?: Configuration): Promise { + return this.api.sensorServiceListSensors(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceSensorsLogs(param: SensorServiceApiSensorServiceSensorsLogsRequest, options?: Configuration): Promise { + return this.api.sensorServiceSensorsLogs(param.namespace, param.name, param.triggerName, param.grep, param.podLogOptionsContainer, param.podLogOptionsFollow, param.podLogOptionsPrevious, param.podLogOptionsSinceSeconds, param.podLogOptionsSinceTimeSeconds, param.podLogOptionsSinceTimeNanos, param.podLogOptionsTimestamps, param.podLogOptionsTailLines, param.podLogOptionsLimitBytes, param.podLogOptionsInsecureSkipTLSVerifyBackend, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceUpdateSensor(param: SensorServiceApiSensorServiceUpdateSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceUpdateSensor(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceWatchSensors(param: SensorServiceApiSensorServiceWatchSensorsRequest, options?: Configuration): Promise { + return this.api.sensorServiceWatchSensors(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + +} + +import { ObservableWorkflowServiceApi } from "./ObservableAPI"; +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; + +export interface WorkflowServiceApiWorkflowServiceCreateWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceCreateWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowCreateRequest + * @memberof WorkflowServiceApiworkflowServiceCreateWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest +} + +export interface WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + name: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsDryRun?: Array + /** + * + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + force?: boolean +} + +export interface WorkflowServiceApiWorkflowServiceGetWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + name: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + getOptionsResourceVersion?: string + /** + * Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServiceLintWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceLintWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowLintRequest + * @memberof WorkflowServiceApiworkflowServiceLintWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest +} + +export interface WorkflowServiceApiWorkflowServiceListWorkflowsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsContinue?: string + /** + * Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServicePodLogsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + name: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + podName: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsInsecureSkipTLSVerifyBackend?: boolean + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + grep?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + selector?: string +} + +export interface WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest +} + +export interface WorkflowServiceApiWorkflowServiceResumeWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowResumeRequest + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest +} + +export interface WorkflowServiceApiWorkflowServiceRetryWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowRetryRequest + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest +} + +export interface WorkflowServiceApiWorkflowServiceSetWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSetRequest + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest +} + +export interface WorkflowServiceApiWorkflowServiceStopWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowStopRequest + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest +} + +export interface WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSubmitWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest + * @memberof WorkflowServiceApiworkflowServiceSubmitWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest +} + +export interface WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest +} + +export interface WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest +} + +export interface WorkflowServiceApiWorkflowServiceWatchEventsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsContinue?: string +} + +export interface WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServiceWorkflowLogsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + name: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + podName?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsInsecureSkipTLSVerifyBackend?: boolean + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + grep?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + selector?: string +} + +export class ObjectWorkflowServiceApi { + private api: ObservableWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: WorkflowServiceApiRequestFactory, responseProcessor?: WorkflowServiceApiResponseProcessor) { + this.api = new ObservableWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public workflowServiceCreateWorkflow(param: WorkflowServiceApiWorkflowServiceCreateWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceCreateWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceDeleteWorkflow(param: WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceDeleteWorkflow(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, param.force, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceGetWorkflow(param: WorkflowServiceApiWorkflowServiceGetWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceGetWorkflow(param.namespace, param.name, param.getOptionsResourceVersion, param.fields, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceLintWorkflow(param: WorkflowServiceApiWorkflowServiceLintWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceLintWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceListWorkflows(param: WorkflowServiceApiWorkflowServiceListWorkflowsRequest, options?: Configuration): Promise { + return this.api.workflowServiceListWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.fields, options).toPromise(); + } + + /** + * DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. + * @param param the request object + */ + public workflowServicePodLogs(param: WorkflowServiceApiWorkflowServicePodLogsRequest, options?: Configuration): Promise { + return this.api.workflowServicePodLogs(param.namespace, param.name, param.podName, param.logOptionsContainer, param.logOptionsFollow, param.logOptionsPrevious, param.logOptionsSinceSeconds, param.logOptionsSinceTimeSeconds, param.logOptionsSinceTimeNanos, param.logOptionsTimestamps, param.logOptionsTailLines, param.logOptionsLimitBytes, param.logOptionsInsecureSkipTLSVerifyBackend, param.grep, param.selector, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceResubmitWorkflow(param: WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceResubmitWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceResumeWorkflow(param: WorkflowServiceApiWorkflowServiceResumeWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceResumeWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceRetryWorkflow(param: WorkflowServiceApiWorkflowServiceRetryWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceRetryWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSetWorkflow(param: WorkflowServiceApiWorkflowServiceSetWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSetWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceStopWorkflow(param: WorkflowServiceApiWorkflowServiceStopWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceStopWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSubmitWorkflow(param: WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSubmitWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSuspendWorkflow(param: WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSuspendWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceTerminateWorkflow(param: WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceTerminateWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWatchEvents(param: WorkflowServiceApiWorkflowServiceWatchEventsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWatchEvents(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWatchWorkflows(param: WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWatchWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.fields, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWorkflowLogs(param: WorkflowServiceApiWorkflowServiceWorkflowLogsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWorkflowLogs(param.namespace, param.name, param.podName, param.logOptionsContainer, param.logOptionsFollow, param.logOptionsPrevious, param.logOptionsSinceSeconds, param.logOptionsSinceTimeSeconds, param.logOptionsSinceTimeNanos, param.logOptionsTimestamps, param.logOptionsTailLines, param.logOptionsLimitBytes, param.logOptionsInsecureSkipTLSVerifyBackend, param.grep, param.selector, options).toPromise(); + } + +} + +import { ObservableWorkflowTemplateServiceApi } from "./ObservableAPI"; +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceCreateWorkflowTemplate + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceCreateWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + name: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsDryRun?: Array +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + name: string + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + getOptionsResourceVersion?: string +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceLintWorkflowTemplate + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceLintWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsContinue?: string +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + namespace: string + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest +} + +export class ObjectWorkflowTemplateServiceApi { + private api: ObservableWorkflowTemplateServiceApi + + public constructor(configuration: Configuration, requestFactory?: WorkflowTemplateServiceApiRequestFactory, responseProcessor?: WorkflowTemplateServiceApiResponseProcessor) { + this.api = new ObservableWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceCreateWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceCreateWorkflowTemplate(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceDeleteWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceDeleteWorkflowTemplate(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceGetWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceGetWorkflowTemplate(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceLintWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceLintWorkflowTemplate(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceListWorkflowTemplates(param: WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceListWorkflowTemplates(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceUpdateWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceUpdateWorkflowTemplate(param.namespace, param.name, param.body, options).toPromise(); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/types/ObservableAPI.ts b/plugins/argo-workflows-backend/api/client/types/ObservableAPI.ts new file mode 100644 index 0000000..c986707 --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/types/ObservableAPI.ts @@ -0,0 +1,2371 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' +import { Observable, of, from } from '../rxjsStub'; +import {mergeMap, map} from '../rxjsStub'; +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; +export class ObservableArchivedWorkflowServiceApi { + private requestFactory: ArchivedWorkflowServiceApiRequestFactory; + private responseProcessor: ArchivedWorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ArchivedWorkflowServiceApiRequestFactory, + responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ArchivedWorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ArchivedWorkflowServiceApiResponseProcessor(); + } + + /** + * @param uid + * @param namespace + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceDeleteArchivedWorkflow(uid, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceDeleteArchivedWorkflow(rsp))); + })); + } + + /** + * @param uid + * @param namespace + * @param name + */ + public archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceGetArchivedWorkflow(uid, namespace, name, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceGetArchivedWorkflow(rsp))); + })); + } + + /** + * @param namespace + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflowLabelKeys(rsp))); + })); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflowLabelValues(rsp))); + })); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namePrefix?: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namePrefix, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflows(rsp))); + })); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceResubmitArchivedWorkflow(uid, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceResubmitArchivedWorkflow(rsp))); + })); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceRetryArchivedWorkflow(uid, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceRetryArchivedWorkflow(rsp))); + })); + } + +} + +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; +export class ObservableArtifactServiceApi { + private requestFactory: ArtifactServiceApiRequestFactory; + private responseProcessor: ArtifactServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ArtifactServiceApiRequestFactory, + responseProcessor?: ArtifactServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ArtifactServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ArtifactServiceApiResponseProcessor(); + } + + /** + * Get an artifact. + * @param namespace + * @param idDiscriminator + * @param id + * @param nodeId + * @param artifactName + * @param artifactDiscriminator + */ + public artifactServiceGetArtifactFile(namespace: string, idDiscriminator: 'workflow' | 'archived-workflows ', id: string, nodeId: string, artifactName: string, artifactDiscriminator: 'outputs', _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetArtifactFile(namespace, idDiscriminator, id, nodeId, artifactName, artifactDiscriminator, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetArtifactFile(rsp))); + })); + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetInputArtifact(rsp))); + })); + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetInputArtifactByUID(uid, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetInputArtifactByUID(rsp))); + })); + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetOutputArtifact(rsp))); + })); + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetOutputArtifactByUID(rsp))); + })); + } + +} + +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; +export class ObservableClusterWorkflowTemplateServiceApi { + private requestFactory: ClusterWorkflowTemplateServiceApiRequestFactory; + private responseProcessor: ClusterWorkflowTemplateServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, + responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ClusterWorkflowTemplateServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ClusterWorkflowTemplateServiceApiResponseProcessor(); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(rsp))); + })); + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(rsp))); + })); + } + +} + +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; +export class ObservableCronWorkflowServiceApi { + private requestFactory: CronWorkflowServiceApiRequestFactory; + private responseProcessor: CronWorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CronWorkflowServiceApiRequestFactory, + responseProcessor?: CronWorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new CronWorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new CronWorkflowServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceCreateCronWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceCreateCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceDeleteCronWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceDeleteCronWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceDeleteCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceGetCronWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceGetCronWorkflow(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceGetCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceLintCronWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceLintCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceListCronWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceListCronWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceListCronWorkflows(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceResumeCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceResumeCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceSuspendCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceSuspendCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceUpdateCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceUpdateCronWorkflow(rsp))); + })); + } + +} + +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; +export class ObservableEventServiceApi { + private requestFactory: EventServiceApiRequestFactory; + private responseProcessor: EventServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: EventServiceApiRequestFactory, + responseProcessor?: EventServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new EventServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new EventServiceApiResponseProcessor(); + } + + /** + * @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 eventServiceListWorkflowEventBindings(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventServiceListWorkflowEventBindings(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventServiceListWorkflowEventBindings(rsp))); + })); + } + + /** + * @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 eventServiceReceiveEvent(namespace: string, discriminator: string, body: any, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventServiceReceiveEvent(namespace, discriminator, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventServiceReceiveEvent(rsp))); + })); + } + +} + +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; +export class ObservableEventSourceServiceApi { + private requestFactory: EventSourceServiceApiRequestFactory; + private responseProcessor: EventSourceServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: EventSourceServiceApiRequestFactory, + responseProcessor?: EventSourceServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new EventSourceServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new EventSourceServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceCreateEventSource(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceCreateEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceDeleteEventSource(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceDeleteEventSource(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceDeleteEventSource(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceEventSourcesLogs(namespace, name, eventSourceType, eventName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceEventSourcesLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + */ + public eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceGetEventSource(namespace, name, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceGetEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceListEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceListEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceListEventSources(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceUpdateEventSource(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceUpdateEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceWatchEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceWatchEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceWatchEventSources(rsp))); + })); + } + +} + +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; +export class ObservableInfoServiceApi { + private requestFactory: InfoServiceApiRequestFactory; + private responseProcessor: InfoServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: InfoServiceApiRequestFactory, + responseProcessor?: InfoServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new InfoServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new InfoServiceApiResponseProcessor(); + } + + /** + * @param body + */ + public infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceCollectEvent(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceCollectEvent(rsp))); + })); + } + + /** + */ + public infoServiceGetInfo(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetInfo(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetInfo(rsp))); + })); + } + + /** + */ + public infoServiceGetUserInfo(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetUserInfo(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetUserInfo(rsp))); + })); + } + + /** + */ + public infoServiceGetVersion(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetVersion(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetVersion(rsp))); + })); + } + +} + +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; +export class ObservableSensorServiceApi { + private requestFactory: SensorServiceApiRequestFactory; + private responseProcessor: SensorServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: SensorServiceApiRequestFactory, + responseProcessor?: SensorServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new SensorServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new SensorServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceCreateSensor(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceCreateSensor(rsp))); + })); + } + + /** + * @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 sensorServiceDeleteSensor(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceDeleteSensor(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceDeleteSensor(rsp))); + })); + } + + /** + * @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 sensorServiceGetSensor(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceGetSensor(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceGetSensor(rsp))); + })); + } + + /** + * @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 sensorServiceListSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceListSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceListSensors(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceSensorsLogs(namespace, name, triggerName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceSensorsLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceUpdateSensor(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceUpdateSensor(rsp))); + })); + } + + /** + * @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 sensorServiceWatchSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceWatchSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceWatchSensors(rsp))); + })); + } + +} + +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; +export class ObservableWorkflowServiceApi { + private requestFactory: WorkflowServiceApiRequestFactory; + private responseProcessor: WorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowServiceApiRequestFactory, + responseProcessor?: WorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new WorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new WorkflowServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceCreateWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceCreateWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceDeleteWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, force?: boolean, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceDeleteWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, force, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceDeleteWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceGetWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceGetWorkflow(namespace, name, getOptionsResourceVersion, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceGetWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceLintWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceLintWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceListWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceListWorkflows(rsp))); + })); + } + + /** + * 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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServicePodLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServicePodLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceResubmitWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceResubmitWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceResumeWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceResumeWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceRetryWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceRetryWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSetWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSetWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceStopWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceStopWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSubmitWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSubmitWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSuspendWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSuspendWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceTerminateWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceTerminateWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceWatchEvents(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWatchEvents(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWatchEvents(rsp))); + })); + } + + /** + * @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 workflowServiceWatchWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWatchWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWatchWorkflows(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWorkflowLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWorkflowLogs(rsp))); + })); + } + +} + +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; +export class ObservableWorkflowTemplateServiceApi { + private requestFactory: WorkflowTemplateServiceApiRequestFactory; + private responseProcessor: WorkflowTemplateServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowTemplateServiceApiRequestFactory, + responseProcessor?: WorkflowTemplateServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new WorkflowTemplateServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new WorkflowTemplateServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceCreateWorkflowTemplate(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceCreateWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceDeleteWorkflowTemplate(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceDeleteWorkflowTemplate(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceDeleteWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceGetWorkflowTemplate(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceGetWorkflowTemplate(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceGetWorkflowTemplate(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceLintWorkflowTemplate(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceLintWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceListWorkflowTemplates(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceListWorkflowTemplates(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceListWorkflowTemplates(rsp))); + })); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceUpdateWorkflowTemplate(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceUpdateWorkflowTemplate(rsp))); + })); + } + +} diff --git a/plugins/argo-workflows-backend/api/client/types/PromiseAPI.ts b/plugins/argo-workflows-backend/api/client/types/PromiseAPI.ts new file mode 100644 index 0000000..d10bb4d --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/types/PromiseAPI.ts @@ -0,0 +1,1414 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; +import { ObservableArchivedWorkflowServiceApi } from './ObservableAPI'; + +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; +export class PromiseArchivedWorkflowServiceApi { + private api: ObservableArchivedWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ArchivedWorkflowServiceApiRequestFactory, + responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableArchivedWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param uid + * @param namespace + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceDeleteArchivedWorkflow(uid, namespace, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param namespace + * @param name + */ + public archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceGetArchivedWorkflow(uid, namespace, name, _options); + return result.toPromise(); + } + + /** + * @param namespace + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace, _options); + return result.toPromise(); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namespace, _options); + return result.toPromise(); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namePrefix?: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namePrefix, namespace, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceResubmitArchivedWorkflow(uid, body, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceRetryArchivedWorkflow(uid, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableArtifactServiceApi } from './ObservableAPI'; + +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; +export class PromiseArtifactServiceApi { + private api: ObservableArtifactServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ArtifactServiceApiRequestFactory, + responseProcessor?: ArtifactServiceApiResponseProcessor + ) { + this.api = new ObservableArtifactServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * Get an artifact. + * @param namespace + * @param idDiscriminator + * @param id + * @param nodeId + * @param artifactName + * @param artifactDiscriminator + */ + public artifactServiceGetArtifactFile(namespace: string, idDiscriminator: 'workflow' | 'archived-workflows ', id: string, nodeId: string, artifactName: string, artifactDiscriminator: 'outputs', _options?: Configuration): Promise { + const result = this.api.artifactServiceGetArtifactFile(namespace, idDiscriminator, id, nodeId, artifactName, artifactDiscriminator, _options); + return result.toPromise(); + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetInputArtifactByUID(uid, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableClusterWorkflowTemplateServiceApi } from './ObservableAPI'; + +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; +export class PromiseClusterWorkflowTemplateServiceApi { + private api: ObservableClusterWorkflowTemplateServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, + responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor + ) { + this.api = new ObservableClusterWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableCronWorkflowServiceApi } from './ObservableAPI'; + +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; +export class PromiseCronWorkflowServiceApi { + private api: ObservableCronWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: CronWorkflowServiceApiRequestFactory, + responseProcessor?: CronWorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableCronWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceCreateCronWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceDeleteCronWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceDeleteCronWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceGetCronWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceGetCronWorkflow(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceLintCronWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceListCronWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceListCronWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceResumeCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceSuspendCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceUpdateCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableEventServiceApi } from './ObservableAPI'; + +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; +export class PromiseEventServiceApi { + private api: ObservableEventServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: EventServiceApiRequestFactory, + responseProcessor?: EventServiceApiResponseProcessor + ) { + this.api = new ObservableEventServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @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 eventServiceListWorkflowEventBindings(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventServiceListWorkflowEventBindings(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 eventServiceReceiveEvent(namespace: string, discriminator: string, body: any, _options?: Configuration): Promise { + const result = this.api.eventServiceReceiveEvent(namespace, discriminator, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableEventSourceServiceApi } from './ObservableAPI'; + +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; +export class PromiseEventSourceServiceApi { + private api: ObservableEventSourceServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: EventSourceServiceApiRequestFactory, + responseProcessor?: EventSourceServiceApiResponseProcessor + ) { + this.api = new ObservableEventSourceServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceCreateEventSource(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceDeleteEventSource(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceDeleteEventSource(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.eventSourceServiceEventSourcesLogs(namespace, name, eventSourceType, eventName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + */ + public eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceGetEventSource(namespace, name, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceListEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceListEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceUpdateEventSource(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceWatchEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceWatchEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableInfoServiceApi } from './ObservableAPI'; + +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; +export class PromiseInfoServiceApi { + private api: ObservableInfoServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: InfoServiceApiRequestFactory, + responseProcessor?: InfoServiceApiResponseProcessor + ) { + this.api = new ObservableInfoServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param body + */ + public infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Promise { + const result = this.api.infoServiceCollectEvent(body, _options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetInfo(_options?: Configuration): Promise { + const result = this.api.infoServiceGetInfo(_options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetUserInfo(_options?: Configuration): Promise { + const result = this.api.infoServiceGetUserInfo(_options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetVersion(_options?: Configuration): Promise { + const result = this.api.infoServiceGetVersion(_options); + return result.toPromise(); + } + + +} + + + +import { ObservableSensorServiceApi } from './ObservableAPI'; + +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; +export class PromiseSensorServiceApi { + private api: ObservableSensorServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: SensorServiceApiRequestFactory, + responseProcessor?: SensorServiceApiResponseProcessor + ) { + this.api = new ObservableSensorServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Promise { + const result = this.api.sensorServiceCreateSensor(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceDeleteSensor(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.sensorServiceDeleteSensor(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceGetSensor(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceGetSensor(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceListSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceListSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.sensorServiceSensorsLogs(namespace, name, triggerName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Promise { + const result = this.api.sensorServiceUpdateSensor(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceWatchSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceWatchSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableWorkflowServiceApi } from './ObservableAPI'; + +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; +export class PromiseWorkflowServiceApi { + private api: ObservableWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowServiceApiRequestFactory, + responseProcessor?: WorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceCreateWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceDeleteWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, force?: boolean, _options?: Configuration): Promise { + const result = this.api.workflowServiceDeleteWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, force, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceGetWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceGetWorkflow(namespace, name, getOptionsResourceVersion, fields, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceLintWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceListWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + return result.toPromise(); + } + + /** + * 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 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?: Configuration): Promise { + const result = this.api.workflowServicePodLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceResubmitWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceResumeWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceRetryWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSetWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceStopWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSubmitWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSuspendWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceTerminateWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceWatchEvents(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceWatchEvents(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceWatchWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceWatchWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.workflowServiceWorkflowLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableWorkflowTemplateServiceApi } from './ObservableAPI'; + +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; +export class PromiseWorkflowTemplateServiceApi { + private api: ObservableWorkflowTemplateServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowTemplateServiceApiRequestFactory, + responseProcessor?: WorkflowTemplateServiceApiResponseProcessor + ) { + this.api = new ObservableWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceCreateWorkflowTemplate(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceDeleteWorkflowTemplate(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceDeleteWorkflowTemplate(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceGetWorkflowTemplate(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceGetWorkflowTemplate(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceLintWorkflowTemplate(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceListWorkflowTemplates(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceListWorkflowTemplates(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceUpdateWorkflowTemplate(namespace, name, body, _options); + return result.toPromise(); + } + + +} + + + diff --git a/plugins/argo-workflows-backend/api/client/util.ts b/plugins/argo-workflows-backend/api/client/util.ts new file mode 100644 index 0000000..96ea3df --- /dev/null +++ b/plugins/argo-workflows-backend/api/client/util.ts @@ -0,0 +1,37 @@ +/** + * Returns if a specific http code is in a given code range + * where the code range is defined as a combination of digits + * and "X" (the letter X) with a length of 3 + * + * @param codeRange string with length 3 consisting of digits and "X" (the letter X) + * @param code the http status code to be checked against the code range + */ +export function isCodeInRange(codeRange: string, code: number): boolean { + // This is how the default value is encoded in OAG + if (codeRange === "0") { + return true; + } + if (codeRange == code.toString()) { + return true; + } else { + const codeString = code.toString(); + if (codeString.length != codeRange.length) { + return false; + } + for (let i = 0; i < codeString.length; i++) { + if (codeRange.charAt(i) != "X" && codeRange.charAt(i) != codeString.charAt(i)) { + return false; + } + } + return true; + } +} + +/** +* Returns if it can consume form +* +* @param consumes array +*/ +export function canConsumeForm(contentTypes: string[]): boolean { + return contentTypes.indexOf('multipart/form-data') !== -1 +} diff --git a/plugins/argo-workflows-backend/config.d.ts b/plugins/argo-workflows-backend/config.d.ts new file mode 100644 index 0000000..81d406a --- /dev/null +++ b/plugins/argo-workflows-backend/config.d.ts @@ -0,0 +1,54 @@ +export interface Config { + /** Optional configurations for the Argo Workflows plugin */ + argoWorkflows?: { + /** + * @visibility secret + */ + username?: string; + /** + * @visibility secret + */ + password?: string; + /** + * The base url of the Argo Workflows instance. + * @visibility frontend + */ + baseUrl?: string; + /** + * The base url of the Argo Workflows instance. + * @visibility frontend + */ + appLocatorMethods?: Array; + }>; + }; +} diff --git a/plugins/argo-workflows-backend/out/.gitignore b/plugins/argo-workflows-backend/out/.gitignore new file mode 100644 index 0000000..1521c8b --- /dev/null +++ b/plugins/argo-workflows-backend/out/.gitignore @@ -0,0 +1 @@ +dist diff --git a/plugins/argo-workflows-backend/out/.openapi-generator-ignore b/plugins/argo-workflows-backend/out/.openapi-generator-ignore new file mode 100644 index 0000000..7484ee5 --- /dev/null +++ b/plugins/argo-workflows-backend/out/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/plugins/argo-workflows-backend/out/.openapi-generator/FILES b/plugins/argo-workflows-backend/out/.openapi-generator/FILES new file mode 100644 index 0000000..584eb5e --- /dev/null +++ b/plugins/argo-workflows-backend/out/.openapi-generator/FILES @@ -0,0 +1,423 @@ +.gitignore +.openapi-generator-ignore +ArchivedWorkflowServiceApi.md +ArtifactServiceApi.md +ClusterWorkflowTemplateServiceApi.md +CronWorkflowServiceApi.md +EventServiceApi.md +EventSourceServiceApi.md +InfoServiceApi.md +README.md +SensorServiceApi.md +WorkflowServiceApi.md +WorkflowTemplateServiceApi.md +apis/ArchivedWorkflowServiceApi.ts +apis/ArtifactServiceApi.ts +apis/ClusterWorkflowTemplateServiceApi.ts +apis/CronWorkflowServiceApi.ts +apis/EventServiceApi.ts +apis/EventSourceServiceApi.ts +apis/InfoServiceApi.ts +apis/SensorServiceApi.ts +apis/WorkflowServiceApi.ts +apis/WorkflowTemplateServiceApi.ts +apis/baseapi.ts +apis/exception.ts +auth/auth.ts +configuration.ts +git_push.sh +http/http.ts +http/isomorphic-fetch.ts +index.ts +middleware.ts +models/EventsourceCreateEventSourceRequest.ts +models/EventsourceEventSourceWatchEvent.ts +models/EventsourceLogEntry.ts +models/EventsourceUpdateEventSourceRequest.ts +models/GoogleProtobufAny.ts +models/GrpcGatewayRuntimeError.ts +models/GrpcGatewayRuntimeStreamError.ts +models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts +models/IoArgoprojEventsV1alpha1AMQPEventSource.ts +models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts +models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts +models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts +models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts +models/IoArgoprojEventsV1alpha1Amount.ts +models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts +models/IoArgoprojEventsV1alpha1ArtifactLocation.ts +models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts +models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts +models/IoArgoprojEventsV1alpha1Backoff.ts +models/IoArgoprojEventsV1alpha1BasicAuth.ts +models/IoArgoprojEventsV1alpha1BitbucketAuth.ts +models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts +models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts +models/IoArgoprojEventsV1alpha1BitbucketRepository.ts +models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts +models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts +models/IoArgoprojEventsV1alpha1CalendarEventSource.ts +models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts +models/IoArgoprojEventsV1alpha1Condition.ts +models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts +models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts +models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts +models/IoArgoprojEventsV1alpha1CustomTrigger.ts +models/IoArgoprojEventsV1alpha1DataFilter.ts +models/IoArgoprojEventsV1alpha1EmitterEventSource.ts +models/IoArgoprojEventsV1alpha1EventContext.ts +models/IoArgoprojEventsV1alpha1EventDependency.ts +models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts +models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts +models/IoArgoprojEventsV1alpha1EventPersistence.ts +models/IoArgoprojEventsV1alpha1EventSource.ts +models/IoArgoprojEventsV1alpha1EventSourceFilter.ts +models/IoArgoprojEventsV1alpha1EventSourceList.ts +models/IoArgoprojEventsV1alpha1EventSourceSpec.ts +models/IoArgoprojEventsV1alpha1EventSourceStatus.ts +models/IoArgoprojEventsV1alpha1ExprFilter.ts +models/IoArgoprojEventsV1alpha1FileArtifact.ts +models/IoArgoprojEventsV1alpha1FileEventSource.ts +models/IoArgoprojEventsV1alpha1GenericEventSource.ts +models/IoArgoprojEventsV1alpha1GitArtifact.ts +models/IoArgoprojEventsV1alpha1GitCreds.ts +models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts +models/IoArgoprojEventsV1alpha1GithubAppCreds.ts +models/IoArgoprojEventsV1alpha1GithubEventSource.ts +models/IoArgoprojEventsV1alpha1GitlabEventSource.ts +models/IoArgoprojEventsV1alpha1HDFSEventSource.ts +models/IoArgoprojEventsV1alpha1HTTPTrigger.ts +models/IoArgoprojEventsV1alpha1Int64OrString.ts +models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts +models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts +models/IoArgoprojEventsV1alpha1KafkaEventSource.ts +models/IoArgoprojEventsV1alpha1KafkaTrigger.ts +models/IoArgoprojEventsV1alpha1LogTrigger.ts +models/IoArgoprojEventsV1alpha1MQTTEventSource.ts +models/IoArgoprojEventsV1alpha1Metadata.ts +models/IoArgoprojEventsV1alpha1NATSAuth.ts +models/IoArgoprojEventsV1alpha1NATSEventsSource.ts +models/IoArgoprojEventsV1alpha1NATSTrigger.ts +models/IoArgoprojEventsV1alpha1NSQEventSource.ts +models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts +models/IoArgoprojEventsV1alpha1OwnedRepositories.ts +models/IoArgoprojEventsV1alpha1PayloadField.ts +models/IoArgoprojEventsV1alpha1PubSubEventSource.ts +models/IoArgoprojEventsV1alpha1PulsarEventSource.ts +models/IoArgoprojEventsV1alpha1PulsarTrigger.ts +models/IoArgoprojEventsV1alpha1RateLimit.ts +models/IoArgoprojEventsV1alpha1RedisEventSource.ts +models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts +models/IoArgoprojEventsV1alpha1Resource.ts +models/IoArgoprojEventsV1alpha1ResourceEventSource.ts +models/IoArgoprojEventsV1alpha1ResourceFilter.ts +models/IoArgoprojEventsV1alpha1S3Artifact.ts +models/IoArgoprojEventsV1alpha1S3Bucket.ts +models/IoArgoprojEventsV1alpha1S3Filter.ts +models/IoArgoprojEventsV1alpha1SASLConfig.ts +models/IoArgoprojEventsV1alpha1SNSEventSource.ts +models/IoArgoprojEventsV1alpha1SQSEventSource.ts +models/IoArgoprojEventsV1alpha1SecureHeader.ts +models/IoArgoprojEventsV1alpha1Selector.ts +models/IoArgoprojEventsV1alpha1Sensor.ts +models/IoArgoprojEventsV1alpha1SensorList.ts +models/IoArgoprojEventsV1alpha1SensorSpec.ts +models/IoArgoprojEventsV1alpha1SensorStatus.ts +models/IoArgoprojEventsV1alpha1Service.ts +models/IoArgoprojEventsV1alpha1SlackEventSource.ts +models/IoArgoprojEventsV1alpha1SlackTrigger.ts +models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts +models/IoArgoprojEventsV1alpha1Status.ts +models/IoArgoprojEventsV1alpha1StatusPolicy.ts +models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts +models/IoArgoprojEventsV1alpha1StorageGridFilter.ts +models/IoArgoprojEventsV1alpha1StripeEventSource.ts +models/IoArgoprojEventsV1alpha1TLSConfig.ts +models/IoArgoprojEventsV1alpha1Template.ts +models/IoArgoprojEventsV1alpha1TimeFilter.ts +models/IoArgoprojEventsV1alpha1Trigger.ts +models/IoArgoprojEventsV1alpha1TriggerParameter.ts +models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts +models/IoArgoprojEventsV1alpha1TriggerPolicy.ts +models/IoArgoprojEventsV1alpha1TriggerTemplate.ts +models/IoArgoprojEventsV1alpha1URLArtifact.ts +models/IoArgoprojEventsV1alpha1ValueFromSource.ts +models/IoArgoprojEventsV1alpha1WatchPathConfig.ts +models/IoArgoprojEventsV1alpha1WebhookContext.ts +models/IoArgoprojEventsV1alpha1WebhookEventSource.ts +models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts +models/IoArgoprojWorkflowV1alpha1Arguments.ts +models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts +models/IoArgoprojWorkflowV1alpha1Artifact.ts +models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts +models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts +models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts +models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts +models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts +models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts +models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts +models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts +models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts +models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts +models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts +models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts +models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1Backoff.ts +models/IoArgoprojWorkflowV1alpha1BasicAuth.ts +models/IoArgoprojWorkflowV1alpha1Cache.ts +models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts +models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts +models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts +models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts +models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts +models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts +models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts +models/IoArgoprojWorkflowV1alpha1Column.ts +models/IoArgoprojWorkflowV1alpha1Condition.ts +models/IoArgoprojWorkflowV1alpha1ContainerNode.ts +models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts +models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts +models/IoArgoprojWorkflowV1alpha1ContinueOn.ts +models/IoArgoprojWorkflowV1alpha1Counter.ts +models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts +models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts +models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts +models/IoArgoprojWorkflowV1alpha1DAGTask.ts +models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts +models/IoArgoprojWorkflowV1alpha1Data.ts +models/IoArgoprojWorkflowV1alpha1DataSource.ts +models/IoArgoprojWorkflowV1alpha1Event.ts +models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts +models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts +models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1Gauge.ts +models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts +models/IoArgoprojWorkflowV1alpha1GitArtifact.ts +models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts +models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1HTTP.ts +models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts +models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts +models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts +models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts +models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts +models/IoArgoprojWorkflowV1alpha1Header.ts +models/IoArgoprojWorkflowV1alpha1Histogram.ts +models/IoArgoprojWorkflowV1alpha1InfoResponse.ts +models/IoArgoprojWorkflowV1alpha1Inputs.ts +models/IoArgoprojWorkflowV1alpha1LabelKeys.ts +models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts +models/IoArgoprojWorkflowV1alpha1LabelValues.ts +models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts +models/IoArgoprojWorkflowV1alpha1Link.ts +models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts +models/IoArgoprojWorkflowV1alpha1LogEntry.ts +models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts +models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts +models/IoArgoprojWorkflowV1alpha1Memoize.ts +models/IoArgoprojWorkflowV1alpha1Metadata.ts +models/IoArgoprojWorkflowV1alpha1MetricLabel.ts +models/IoArgoprojWorkflowV1alpha1Metrics.ts +models/IoArgoprojWorkflowV1alpha1Mutex.ts +models/IoArgoprojWorkflowV1alpha1MutexHolding.ts +models/IoArgoprojWorkflowV1alpha1MutexStatus.ts +models/IoArgoprojWorkflowV1alpha1NodeResult.ts +models/IoArgoprojWorkflowV1alpha1NodeStatus.ts +models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts +models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts +models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts +models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts +models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts +models/IoArgoprojWorkflowV1alpha1Outputs.ts +models/IoArgoprojWorkflowV1alpha1Parameter.ts +models/IoArgoprojWorkflowV1alpha1PodGC.ts +models/IoArgoprojWorkflowV1alpha1Prometheus.ts +models/IoArgoprojWorkflowV1alpha1RawArtifact.ts +models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts +models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts +models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts +models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts +models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts +models/IoArgoprojWorkflowV1alpha1S3Artifact.ts +models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts +models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts +models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts +models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts +models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts +models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts +models/IoArgoprojWorkflowV1alpha1Sequence.ts +models/IoArgoprojWorkflowV1alpha1Submit.ts +models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts +models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts +models/IoArgoprojWorkflowV1alpha1Synchronization.ts +models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts +models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts +models/IoArgoprojWorkflowV1alpha1TarStrategy.ts +models/IoArgoprojWorkflowV1alpha1Template.ts +models/IoArgoprojWorkflowV1alpha1TemplateRef.ts +models/IoArgoprojWorkflowV1alpha1TransformationStep.ts +models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts +models/IoArgoprojWorkflowV1alpha1UserContainer.ts +models/IoArgoprojWorkflowV1alpha1ValueFrom.ts +models/IoArgoprojWorkflowV1alpha1Version.ts +models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts +models/IoArgoprojWorkflowV1alpha1Workflow.ts +models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts +models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts +models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts +models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts +models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowList.ts +models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts +models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts +models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts +models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts +models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts +models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts +models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts +models/IoK8sApiCoreV1Affinity.ts +models/IoK8sApiCoreV1AzureDiskVolumeSource.ts +models/IoK8sApiCoreV1AzureFileVolumeSource.ts +models/IoK8sApiCoreV1CSIVolumeSource.ts +models/IoK8sApiCoreV1Capabilities.ts +models/IoK8sApiCoreV1CephFSVolumeSource.ts +models/IoK8sApiCoreV1CinderVolumeSource.ts +models/IoK8sApiCoreV1ConfigMapEnvSource.ts +models/IoK8sApiCoreV1ConfigMapKeySelector.ts +models/IoK8sApiCoreV1ConfigMapProjection.ts +models/IoK8sApiCoreV1ConfigMapVolumeSource.ts +models/IoK8sApiCoreV1Container.ts +models/IoK8sApiCoreV1ContainerPort.ts +models/IoK8sApiCoreV1DownwardAPIProjection.ts +models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts +models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts +models/IoK8sApiCoreV1EmptyDirVolumeSource.ts +models/IoK8sApiCoreV1EnvFromSource.ts +models/IoK8sApiCoreV1EnvVar.ts +models/IoK8sApiCoreV1EnvVarSource.ts +models/IoK8sApiCoreV1EphemeralVolumeSource.ts +models/IoK8sApiCoreV1Event.ts +models/IoK8sApiCoreV1EventSeries.ts +models/IoK8sApiCoreV1EventSource.ts +models/IoK8sApiCoreV1ExecAction.ts +models/IoK8sApiCoreV1FCVolumeSource.ts +models/IoK8sApiCoreV1FlexVolumeSource.ts +models/IoK8sApiCoreV1FlockerVolumeSource.ts +models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts +models/IoK8sApiCoreV1GRPCAction.ts +models/IoK8sApiCoreV1GitRepoVolumeSource.ts +models/IoK8sApiCoreV1GlusterfsVolumeSource.ts +models/IoK8sApiCoreV1HTTPGetAction.ts +models/IoK8sApiCoreV1HTTPHeader.ts +models/IoK8sApiCoreV1HostAlias.ts +models/IoK8sApiCoreV1HostPathVolumeSource.ts +models/IoK8sApiCoreV1ISCSIVolumeSource.ts +models/IoK8sApiCoreV1KeyToPath.ts +models/IoK8sApiCoreV1Lifecycle.ts +models/IoK8sApiCoreV1LifecycleHandler.ts +models/IoK8sApiCoreV1LocalObjectReference.ts +models/IoK8sApiCoreV1NFSVolumeSource.ts +models/IoK8sApiCoreV1NodeAffinity.ts +models/IoK8sApiCoreV1NodeSelector.ts +models/IoK8sApiCoreV1NodeSelectorRequirement.ts +models/IoK8sApiCoreV1NodeSelectorTerm.ts +models/IoK8sApiCoreV1ObjectFieldSelector.ts +models/IoK8sApiCoreV1ObjectReference.ts +models/IoK8sApiCoreV1PersistentVolumeClaim.ts +models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts +models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts +models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts +models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts +models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts +models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts +models/IoK8sApiCoreV1PodAffinity.ts +models/IoK8sApiCoreV1PodAffinityTerm.ts +models/IoK8sApiCoreV1PodAntiAffinity.ts +models/IoK8sApiCoreV1PodDNSConfig.ts +models/IoK8sApiCoreV1PodDNSConfigOption.ts +models/IoK8sApiCoreV1PodSecurityContext.ts +models/IoK8sApiCoreV1PortworxVolumeSource.ts +models/IoK8sApiCoreV1PreferredSchedulingTerm.ts +models/IoK8sApiCoreV1Probe.ts +models/IoK8sApiCoreV1ProjectedVolumeSource.ts +models/IoK8sApiCoreV1QuobyteVolumeSource.ts +models/IoK8sApiCoreV1RBDVolumeSource.ts +models/IoK8sApiCoreV1ResourceFieldSelector.ts +models/IoK8sApiCoreV1ResourceRequirements.ts +models/IoK8sApiCoreV1SELinuxOptions.ts +models/IoK8sApiCoreV1ScaleIOVolumeSource.ts +models/IoK8sApiCoreV1SeccompProfile.ts +models/IoK8sApiCoreV1SecretEnvSource.ts +models/IoK8sApiCoreV1SecretKeySelector.ts +models/IoK8sApiCoreV1SecretProjection.ts +models/IoK8sApiCoreV1SecretVolumeSource.ts +models/IoK8sApiCoreV1SecurityContext.ts +models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts +models/IoK8sApiCoreV1ServicePort.ts +models/IoK8sApiCoreV1StorageOSVolumeSource.ts +models/IoK8sApiCoreV1Sysctl.ts +models/IoK8sApiCoreV1TCPSocketAction.ts +models/IoK8sApiCoreV1Toleration.ts +models/IoK8sApiCoreV1TypedLocalObjectReference.ts +models/IoK8sApiCoreV1Volume.ts +models/IoK8sApiCoreV1VolumeDevice.ts +models/IoK8sApiCoreV1VolumeMount.ts +models/IoK8sApiCoreV1VolumeProjection.ts +models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts +models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts +models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts +models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts +models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts +models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts +models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts +models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts +models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts +models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts +models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts +models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts +models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts +models/ObjectSerializer.ts +models/SensorCreateSensorRequest.ts +models/SensorLogEntry.ts +models/SensorSensorWatchEvent.ts +models/SensorUpdateSensorRequest.ts +models/StreamResultOfEventsourceEventSourceWatchEvent.ts +models/StreamResultOfEventsourceLogEntry.ts +models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts +models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts +models/StreamResultOfIoK8sApiCoreV1Event.ts +models/StreamResultOfSensorLogEntry.ts +models/StreamResultOfSensorSensorWatchEvent.ts +models/all.ts +package.json +rxjsStub.ts +servers.ts +tsconfig.json +types/ObjectParamAPI.ts +types/ObservableAPI.ts +types/PromiseAPI.ts +util.ts diff --git a/plugins/argo-workflows-backend/out/.openapi-generator/VERSION b/plugins/argo-workflows-backend/out/.openapi-generator/VERSION new file mode 100644 index 0000000..cd802a1 --- /dev/null +++ b/plugins/argo-workflows-backend/out/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.6.0 \ No newline at end of file diff --git a/plugins/argo-workflows-backend/package.json b/plugins/argo-workflows-backend/package.json new file mode 100644 index 0000000..6f76af4 --- /dev/null +++ b/plugins/argo-workflows-backend/package.json @@ -0,0 +1,44 @@ +{ + "name": "@internal/plugin-argo-workflows-backend-backend", + "version": "0.1.0", + "main": "src/index.ts", + "types": "src/index.ts", + "license": "Apache-2.0", + "private": true, + "publishConfig": { + "access": "public", + "main": "dist/index.cjs.js", + "types": "dist/index.d.ts" + }, + "backstage": { + "role": "backend-plugin" + }, + "scripts": { + "start": "backstage-cli package start", + "build": "backstage-cli package build", + "lint": "backstage-cli package lint", + "test": "backstage-cli package test", + "clean": "backstage-cli package clean", + "prepack": "backstage-cli package prepack", + "postpack": "backstage-cli package postpack" + }, + "dependencies": { + "@backstage/backend-common": "^0.18.5", + "@backstage/config": "^1.0.7", + "@types/express": "*", + "express": "^4.17.1", + "express-promise-router": "^4.1.0", + "winston": "^3.2.1", + "node-fetch": "^2.6.7", + "yn": "^4.0.0" + }, + "devDependencies": { + "@backstage/cli": "^0.22.7", + "@types/supertest": "^2.0.12", + "supertest": "^6.2.4", + "msw": "^1.0.0" + }, + "files": [ + "dist" + ] +} diff --git a/plugins/argo-workflows-backend/src/index.ts b/plugins/argo-workflows-backend/src/index.ts new file mode 100644 index 0000000..47af95c --- /dev/null +++ b/plugins/argo-workflows-backend/src/index.ts @@ -0,0 +1 @@ +export * from './service/router'; diff --git a/plugins/argo-workflows-backend/src/run.ts b/plugins/argo-workflows-backend/src/run.ts new file mode 100644 index 0000000..79c6bd6 --- /dev/null +++ b/plugins/argo-workflows-backend/src/run.ts @@ -0,0 +1,17 @@ +import { getRootLogger } from '@backstage/backend-common'; +import yn from 'yn'; +import { startStandaloneServer } from './service/standaloneServer'; + +const port = process.env.PLUGIN_PORT ? Number(process.env.PLUGIN_PORT) : 7007; +const enableCors = yn(process.env.PLUGIN_CORS, { default: false }); +const logger = getRootLogger(); + +startStandaloneServer({ port, enableCors, logger }).catch(err => { + logger.error(err); + process.exit(1); +}); + +process.on('SIGINT', () => { + logger.info('CTRL+C pressed; exiting.'); + process.exit(0); +}); diff --git a/plugins/argo-workflows-backend/src/service/router.test.ts b/plugins/argo-workflows-backend/src/service/router.test.ts new file mode 100644 index 0000000..4f50797 --- /dev/null +++ b/plugins/argo-workflows-backend/src/service/router.test.ts @@ -0,0 +1,29 @@ +import { getVoidLogger } from '@backstage/backend-common'; +import express from 'express'; +import request from 'supertest'; + +import { createRouter } from './router'; + +describe('createRouter', () => { + let app: express.Express; + + beforeAll(async () => { + const router = await createRouter({ + logger: getVoidLogger(), + }); + app = express().use(router); + }); + + beforeEach(() => { + jest.resetAllMocks(); + }); + + describe('GET /health', () => { + it('returns ok', async () => { + const response = await request(app).get('/health'); + + expect(response.status).toEqual(200); + expect(response.body).toEqual({ status: 'ok' }); + }); + }); +}); diff --git a/plugins/argo-workflows-backend/src/service/router.ts b/plugins/argo-workflows-backend/src/service/router.ts new file mode 100644 index 0000000..3b116c1 --- /dev/null +++ b/plugins/argo-workflows-backend/src/service/router.ts @@ -0,0 +1,38 @@ +import { errorHandler } from '@backstage/backend-common'; +import express from 'express'; +import Router from 'express-promise-router'; +import { Logger } from 'winston'; +import {Config} from "@backstage/config"; +import {Workflows} from "./workflows"; + +export interface RouterOptions { + config: Config + logger: Logger; +} + + +export async function createRouter( + options: RouterOptions, +): Promise { + const { logger } = options; + + const workflowSvc = new Workflows(options.config) + + const router = Router(); + router.use(express.json()); + + router.get('/workflows', + async (request, response) => { + const selector = request.query.labelSelector + workflowSvc.getWorkflowData() + } + + ); + + router.get('/health', (_, response) => { + logger.info('PONG!'); + response.json({ status: 'ok' }); + }); + router.use(errorHandler()); + return router; +} diff --git a/plugins/argo-workflows-backend/src/service/standaloneServer.ts b/plugins/argo-workflows-backend/src/service/standaloneServer.ts new file mode 100644 index 0000000..2066f56 --- /dev/null +++ b/plugins/argo-workflows-backend/src/service/standaloneServer.ts @@ -0,0 +1,43 @@ +import {createServiceBuilder, loadBackendConfig} from '@backstage/backend-common'; +import { Server } from 'http'; +import { Logger } from 'winston'; +import { createRouter } from './router'; + +export interface ServerOptions { + port: number; + enableCors: boolean; + logger: Logger; +} + +export async function startStandaloneServer( + options: ServerOptions, +): Promise { + const logger = options.logger.child({ service: 'argo-workflows-backend' }); + logger.debug('Starting application server...'); + + const config = await loadBackendConfig({ + argv: process.argv, + logger: logger, + }); + + const router = await createRouter({ + config, + logger, + }); + + + + let service = createServiceBuilder(module) + .setPort(options.port) + .addRouter('/argo-workflows-backend', router); + if (options.enableCors) { + service = service.enableCors({ origin: 'http://localhost:3000' }); + } + + return await service.start().catch(err => { + logger.error(err); + process.exit(1); + }); +} + +module.hot?.accept(); diff --git a/plugins/argo-workflows-backend/src/service/workflows.ts b/plugins/argo-workflows-backend/src/service/workflows.ts new file mode 100644 index 0000000..ff414ba --- /dev/null +++ b/plugins/argo-workflows-backend/src/service/workflows.ts @@ -0,0 +1,53 @@ +import {ArgoWorkflowsApi, InstanceConfig} from "../types"; +import { Config } from '@backstage/config'; +import { + IoArgoprojWorkflowV1alpha1Workflow, + AuthMethodsConfiguration, + WorkflowServiceApi, + createConfiguration, ServerConfiguration +} from "../../api/client"; + +export class Workflows implements ArgoWorkflowsApi { + instanceConfigs: InstanceConfig[] + workflowsSvcApi: {[key: string]: WorkflowServiceApi} + + constructor( + config: Config + ) { + this.instanceConfigs = this.getInstanceConfigs(config) + const svcConf = createConfiguration({ + baseServer: new ServerConfiguration(this.instanceConfigs[0].url, {}), + authMethods: {} + }) + this.workflowsSvcApi = new WorkflowServiceApi(svcConf) + } + + getInstanceConfigs(config: Config): InstanceConfig[] { + return config.getConfigArray('argocd.appLocatorMethods') + .filter(element => element.getString('type') === 'config') + .reduce( + (acc: Config[], argoApp: Config) => + acc.concat(argoApp.getConfigArray('instances')), + [], + ) + .map(instance => ({ + name: instance.getString('name'), + url: instance.getString('url'), + token: instance.getOptionalString('token'), + username: instance.getOptionalString('username'), + password: instance.getOptionalString('password'), + })); + } + + workflowsClient() { + + + new AuthMethodsConfiguration() + } + + getWorkflowData(labelSelectors: string): Promise { + + return Promise.resolve(undefined); + } + +} diff --git a/plugins/argo-workflows-backend/src/setupTests.ts b/plugins/argo-workflows-backend/src/setupTests.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/plugins/argo-workflows-backend/src/setupTests.ts @@ -0,0 +1 @@ +export {}; diff --git a/plugins/argo-workflows-backend/src/types.ts b/plugins/argo-workflows-backend/src/types.ts new file mode 100644 index 0000000..617b8f2 --- /dev/null +++ b/plugins/argo-workflows-backend/src/types.ts @@ -0,0 +1,14 @@ +import {IoArgoprojWorkflowV1alpha1Workflow} from "../api/client"; + +export type InstanceConfig = { + name: string; + password?: string; + token?: string; + url: string; + username?: string; +}; + + +export interface ArgoWorkflowsApi { + getWorkflowData: () => Promise +} diff --git a/plugins/argo-workflows/config.d.ts b/plugins/argo-workflows/config.d.ts new file mode 100644 index 0000000..0d10c84 --- /dev/null +++ b/plugins/argo-workflows/config.d.ts @@ -0,0 +1,10 @@ +export interface Config { + /** Optional configurations for the Argo Workflows plugin */ + argoWorkflows: { + /** + * The base url of the Argo Workflows installation. + * @visibility frontend + */ + baseUrl: string; + }; +} diff --git a/plugins/argo-workflows/src/api/generated/ArchivedWorkflowServiceApi.md b/plugins/argo-workflows/src/api/generated/ArchivedWorkflowServiceApi.md new file mode 100644 index 0000000..d3654aa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/ArchivedWorkflowServiceApi.md @@ -0,0 +1,483 @@ +# .ArchivedWorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**archivedWorkflowServiceDeleteArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceDeleteArchivedWorkflow) | **DELETE** /api/v1/archived-workflows/{uid} | +[**archivedWorkflowServiceGetArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceGetArchivedWorkflow) | **GET** /api/v1/archived-workflows/{uid} | +[**archivedWorkflowServiceListArchivedWorkflowLabelKeys**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflowLabelKeys) | **GET** /api/v1/archived-workflows-label-keys | +[**archivedWorkflowServiceListArchivedWorkflowLabelValues**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflowLabelValues) | **GET** /api/v1/archived-workflows-label-values | +[**archivedWorkflowServiceListArchivedWorkflows**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceListArchivedWorkflows) | **GET** /api/v1/archived-workflows | +[**archivedWorkflowServiceResubmitArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceResubmitArchivedWorkflow) | **PUT** /api/v1/archived-workflows/{uid}/resubmit | +[**archivedWorkflowServiceRetryArchivedWorkflow**](ArchivedWorkflowServiceApi.md#archivedWorkflowServiceRetryArchivedWorkflow) | **PUT** /api/v1/archived-workflows/{uid}/retry | + + +# **archivedWorkflowServiceDeleteArchivedWorkflow** +> any archivedWorkflowServiceDeleteArchivedWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest = { + // string + uid: "uid_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceDeleteArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceGetArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceGetArchivedWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest = { + // string + uid: "uid_example", + // string (optional) + namespace: "namespace_example", + // string (optional) + name: "name_example", +}; + +apiInstance.archivedWorkflowServiceGetArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + **name** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflowLabelKeys** +> IoArgoprojWorkflowV1alpha1LabelKeys archivedWorkflowServiceListArchivedWorkflowLabelKeys() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest = { + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflowLabelKeys(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1LabelKeys** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflowLabelValues** +> IoArgoprojWorkflowV1alpha1LabelValues archivedWorkflowServiceListArchivedWorkflowLabelValues() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflowLabelValues(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1LabelValues** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceListArchivedWorkflows** +> IoArgoprojWorkflowV1alpha1WorkflowList archivedWorkflowServiceListArchivedWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + namePrefix: "namePrefix_example", + // string (optional) + namespace: "namespace_example", +}; + +apiInstance.archivedWorkflowServiceListArchivedWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **namePrefix** | [**string**] | | (optional) defaults to undefined + **namespace** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceResubmitArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceResubmitArchivedWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest = { + // string + uid: "uid_example", + // IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest + body: { + memoized: true, + name: "name_example", + namespace: "namespace_example", + parameters: [ + "parameters_example", + ], + uid: "uid_example", + }, +}; + +apiInstance.archivedWorkflowServiceResubmitArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest**| | + **uid** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **archivedWorkflowServiceRetryArchivedWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow archivedWorkflowServiceRetryArchivedWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArchivedWorkflowServiceApi(configuration); + +let body:.ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest = { + // string + uid: "uid_example", + // IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + parameters: [ + "parameters_example", + ], + restartSuccessful: true, + uid: "uid_example", + }, +}; + +apiInstance.archivedWorkflowServiceRetryArchivedWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest**| | + **uid** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/ArtifactServiceApi.md b/plugins/argo-workflows/src/api/generated/ArtifactServiceApi.md new file mode 100644 index 0000000..912f724 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/ArtifactServiceApi.md @@ -0,0 +1,329 @@ +# .ArtifactServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**artifactServiceGetArtifactFile**](ArtifactServiceApi.md#artifactServiceGetArtifactFile) | **GET** /artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName} | Get an artifact. +[**artifactServiceGetInputArtifact**](ArtifactServiceApi.md#artifactServiceGetInputArtifact) | **GET** /input-artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an input artifact. +[**artifactServiceGetInputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByUID) | **GET** /input-artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an input artifact by UID. +[**artifactServiceGetOutputArtifact**](ArtifactServiceApi.md#artifactServiceGetOutputArtifact) | **GET** /artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an output artifact. +[**artifactServiceGetOutputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByUID) | **GET** /artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an output artifact by UID. + + +# **artifactServiceGetArtifactFile** +> HttpFile artifactServiceGetArtifactFile() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetArtifactFileRequest = { + // string + namespace: "namespace_example", + // 'workflow' | 'archived-workflows ' + idDiscriminator: "workflow", + // string + id: "id_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", + // 'outputs' + artifactDiscriminator: "outputs", +}; + +apiInstance.artifactServiceGetArtifactFile(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **idDiscriminator** | [**'workflow' | 'archived-workflows '**]**Array<'workflow' | 'archived-workflows '>** | | defaults to undefined + **id** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + **artifactDiscriminator** | [**'outputs'**]**Array<'outputs'>** | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetInputArtifact** +> HttpFile artifactServiceGetInputArtifact() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetInputArtifactRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetInputArtifact(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetInputArtifactByUID** +> HttpFile artifactServiceGetInputArtifactByUID() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest = { + // string + uid: "uid_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetInputArtifactByUID(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetOutputArtifact** +> HttpFile artifactServiceGetOutputArtifact() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetOutputArtifactRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetOutputArtifact(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **artifactServiceGetOutputArtifactByUID** +> HttpFile artifactServiceGetOutputArtifactByUID() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ArtifactServiceApi(configuration); + +let body:.ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest = { + // string + uid: "uid_example", + // string + nodeId: "nodeId_example", + // string + artifactName: "artifactName_example", +}; + +apiInstance.artifactServiceGetOutputArtifactByUID(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | [**string**] | | defaults to undefined + **nodeId** | [**string**] | | defaults to undefined + **artifactName** | [**string**] | | defaults to undefined + + +### Return type + +**HttpFile** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An artifact file. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/ClusterWorkflowTemplateServiceApi.md b/plugins/argo-workflows/src/api/generated/ClusterWorkflowTemplateServiceApi.md new file mode 100644 index 0000000..7d4f642 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/ClusterWorkflowTemplateServiceApi.md @@ -0,0 +1,32024 @@ +# .ClusterWorkflowTemplateServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate) | **POST** /api/v1/cluster-workflow-templates | +[**clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate) | **DELETE** /api/v1/cluster-workflow-templates/{name} | +[**clusterWorkflowTemplateServiceGetClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceGetClusterWorkflowTemplate) | **GET** /api/v1/cluster-workflow-templates/{name} | +[**clusterWorkflowTemplateServiceLintClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceLintClusterWorkflowTemplate) | **POST** /api/v1/cluster-workflow-templates/lint | +[**clusterWorkflowTemplateServiceListClusterWorkflowTemplates**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceListClusterWorkflowTemplates) | **GET** /api/v1/cluster-workflow-templates | +[**clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate**](ClusterWorkflowTemplateServiceApi.md#clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate) | **PUT** /api/v1/cluster-workflow-templates/{name} | + + +# **clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest = { + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest**| | + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate** +> any clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest = { + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceGetClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceGetClusterWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest = { + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceLintClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest = { + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest**| | + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceListClusterWorkflowTemplates** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList clusterWorkflowTemplateServiceListClusterWorkflowTemplates() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest = { + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .ClusterWorkflowTemplateServiceApi(configuration); + +let body:.ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest = { + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest + body: { + name: "name_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest**| | + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/CronWorkflowServiceApi.md b/plugins/argo-workflows/src/api/generated/CronWorkflowServiceApi.md new file mode 100644 index 0000000..182887e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/CronWorkflowServiceApi.md @@ -0,0 +1,32385 @@ +# .CronWorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**cronWorkflowServiceCreateCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceCreateCronWorkflow) | **POST** /api/v1/cron-workflows/{namespace} | +[**cronWorkflowServiceDeleteCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceDeleteCronWorkflow) | **DELETE** /api/v1/cron-workflows/{namespace}/{name} | +[**cronWorkflowServiceGetCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceGetCronWorkflow) | **GET** /api/v1/cron-workflows/{namespace}/{name} | +[**cronWorkflowServiceLintCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceLintCronWorkflow) | **POST** /api/v1/cron-workflows/{namespace}/lint | +[**cronWorkflowServiceListCronWorkflows**](CronWorkflowServiceApi.md#cronWorkflowServiceListCronWorkflows) | **GET** /api/v1/cron-workflows/{namespace} | +[**cronWorkflowServiceResumeCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceResumeCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name}/resume | +[**cronWorkflowServiceSuspendCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceSuspendCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name}/suspend | +[**cronWorkflowServiceUpdateCronWorkflow**](CronWorkflowServiceApi.md#cronWorkflowServiceUpdateCronWorkflow) | **PUT** /api/v1/cron-workflows/{namespace}/{name} | + + +# **cronWorkflowServiceCreateCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceCreateCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceCreateCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceDeleteCronWorkflow** +> any cronWorkflowServiceDeleteCronWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.cronWorkflowServiceDeleteCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceGetCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceGetCronWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.cronWorkflowServiceGetCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceLintCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceLintCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest + body: { + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceLintCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceListCronWorkflows** +> IoArgoprojWorkflowV1alpha1CronWorkflowList cronWorkflowServiceListCronWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.cronWorkflowServiceListCronWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceResumeCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceResumeCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceResumeCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceSuspendCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceSuspendCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceSuspendCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **cronWorkflowServiceUpdateCronWorkflow** +> IoArgoprojWorkflowV1alpha1CronWorkflow cronWorkflowServiceUpdateCronWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .CronWorkflowServiceApi(configuration); + +let body:.CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest = { + // string + namespace: "namespace_example", + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest + body: { + cronWorkflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + concurrencyPolicy: "concurrencyPolicy_example", + failedJobsHistoryLimit: 1, + schedule: "schedule_example", + startingDeadlineSeconds: 1, + successfulJobsHistoryLimit: 1, + suspend: true, + timezone: "timezone_example", + workflowMetadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + workflowSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + status: { + active: [ + { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + ], + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + lastScheduledTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.cronWorkflowServiceUpdateCronWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1CronWorkflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/EventServiceApi.md b/plugins/argo-workflows/src/api/generated/EventServiceApi.md new file mode 100644 index 0000000..a0506b2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/EventServiceApi.md @@ -0,0 +1,152 @@ +# .EventServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**eventServiceListWorkflowEventBindings**](EventServiceApi.md#eventServiceListWorkflowEventBindings) | **GET** /api/v1/workflow-event-bindings/{namespace} | +[**eventServiceReceiveEvent**](EventServiceApi.md#eventServiceReceiveEvent) | **POST** /api/v1/events/{namespace}/{discriminator} | + + +# **eventServiceListWorkflowEventBindings** +> IoArgoprojWorkflowV1alpha1WorkflowEventBindingList eventServiceListWorkflowEventBindings() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventServiceApi(configuration); + +let body:.EventServiceApiEventServiceListWorkflowEventBindingsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventServiceListWorkflowEventBindings(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowEventBindingList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventServiceReceiveEvent** +> any eventServiceReceiveEvent(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventServiceApi(configuration); + +let body:.EventServiceApiEventServiceReceiveEventRequest = { + // string | 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. + namespace: "namespace_example", + // string | 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)` + discriminator: "discriminator_example", + // any | The event itself can be any data. + body: {}, +}; + +apiInstance.eventServiceReceiveEvent(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| The event itself can be any data. | + **namespace** | [**string**] | 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. | defaults to undefined + **discriminator** | [**string**] | 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)` | defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/EventSourceServiceApi.md b/plugins/argo-workflows/src/api/generated/EventSourceServiceApi.md new file mode 100644 index 0000000..afb8fbd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/EventSourceServiceApi.md @@ -0,0 +1,4970 @@ +# .EventSourceServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**eventSourceServiceCreateEventSource**](EventSourceServiceApi.md#eventSourceServiceCreateEventSource) | **POST** /api/v1/event-sources/{namespace} | +[**eventSourceServiceDeleteEventSource**](EventSourceServiceApi.md#eventSourceServiceDeleteEventSource) | **DELETE** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceEventSourcesLogs**](EventSourceServiceApi.md#eventSourceServiceEventSourcesLogs) | **GET** /api/v1/stream/event-sources/{namespace}/logs | +[**eventSourceServiceGetEventSource**](EventSourceServiceApi.md#eventSourceServiceGetEventSource) | **GET** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceListEventSources**](EventSourceServiceApi.md#eventSourceServiceListEventSources) | **GET** /api/v1/event-sources/{namespace} | +[**eventSourceServiceUpdateEventSource**](EventSourceServiceApi.md#eventSourceServiceUpdateEventSource) | **PUT** /api/v1/event-sources/{namespace}/{name} | +[**eventSourceServiceWatchEventSources**](EventSourceServiceApi.md#eventSourceServiceWatchEventSources) | **GET** /api/v1/stream/event-sources/{namespace} | + + +# **eventSourceServiceCreateEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceCreateEventSource(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceCreateEventSourceRequest = { + // string + namespace: "namespace_example", + // EventsourceCreateEventSourceRequest + body: { + eventSource: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + amqp: { + "key": { + auth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consume: { + autoAck: true, + consumerTag: "consumerTag_example", + exclusive: true, + noLocal: true, + noWait: true, + }, + exchangeDeclare: { + autoDelete: true, + durable: true, + internal: true, + noWait: true, + }, + exchangeName: "exchangeName_example", + exchangeType: "exchangeType_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queueBind: { + noWait: true, + }, + queueDeclare: { + arguments: "arguments_example", + autoDelete: true, + durable: true, + exclusive: true, + name: "name_example", + noWait: true, + }, + routingKey: "routingKey_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + urlSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + azureEventsHub: { + "key": { + filter: { + expression: "expression_example", + }, + fqdn: "fqdn_example", + hubName: "hubName_example", + metadata: { + "key": "key_example", + }, + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + bitbucket: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauthToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + owner: "owner_example", + projectKey: "projectKey_example", + repositories: [ + { + owner: "owner_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + bitbucketserver: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bitbucketserverBaseURL: "bitbucketserverBaseURL_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + projectKey: "projectKey_example", + repositories: [ + { + projectKey: "projectKey_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + calendar: { + "key": { + exclusionDates: [ + "exclusionDates_example", + ], + filter: { + expression: "expression_example", + }, + interval: "interval_example", + metadata: { + "key": "key_example", + }, + persistence: { + catchup: { + enabled: true, + maxDuration: "maxDuration_example", + }, + configMap: { + createIfNotExist: true, + name: "name_example", + }, + }, + schedule: "schedule_example", + timezone: "timezone_example", + }, + }, + emitter: { + "key": { + broker: "broker_example", + channelKey: "channelKey_example", + channelName: "channelName_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + eventBusName: "eventBusName_example", + file: { + "key": { + eventType: "eventType_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + polling: true, + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + generic: { + "key": { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + config: "config_example", + filter: { + expression: "expression_example", + }, + insecure: true, + jsonBody: true, + metadata: { + "key": "key_example", + }, + url: "url_example", + }, + }, + github: { + "key": { + active: true, + apiToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + contentType: "contentType_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + githubApp: { + appID: "appID_example", + installationID: "installationID_example", + privateKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + githubBaseURL: "githubBaseURL_example", + githubUploadURL: "githubUploadURL_example", + id: "id_example", + insecure: true, + metadata: { + "key": "key_example", + }, + organizations: [ + "organizations_example", + ], + owner: "owner_example", + repositories: [ + { + names: [ + "names_example", + ], + owner: "owner_example", + }, + ], + repository: "repository_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + gitlab: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteHookOnFinish: true, + enableSSLVerification: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + gitlabBaseURL: "gitlabBaseURL_example", + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + projects: [ + "projects_example", + ], + secretToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + hdfs: { + "key": { + addresses: [ + "addresses_example", + ], + checkInterval: "checkInterval_example", + filter: { + expression: "expression_example", + }, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + metadata: { + "key": "key_example", + }, + type: "type_example", + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + kafka: { + "key": { + config: "config_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consumerGroup: { + groupName: "groupName_example", + oldest: true, + rebalanceStrategy: "rebalanceStrategy_example", + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + limitEventsPerSecond: "limitEventsPerSecond_example", + metadata: { + "key": "key_example", + }, + partition: "partition_example", + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + }, + minio: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + mqtt: { + "key": { + clientId: "clientId_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + }, + }, + nats: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + credential: { + key: "key_example", + name: "name_example", + optional: true, + }, + nkey: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + }, + nsq: { + "key": { + channel: "channel_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + }, + }, + pubSub: { + "key": { + credentialSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteSubscriptionOnFinish: true, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + subscriptionID: "subscriptionID_example", + topic: "topic_example", + topicProjectID: "topicProjectID_example", + }, + }, + pulsar: { + "key": { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topics: [ + "topics_example", + ], + type: "type_example", + url: "url_example", + }, + }, + redis: { + "key": { + channels: [ + "channels_example", + ], + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + redisStream: { + "key": { + consumerGroup: "consumerGroup_example", + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + maxMsgCountPerRead: 1, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + streams: [ + "streams_example", + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + replicas: 1, + resource: { + "key": { + eventTypes: [ + "eventTypes_example", + ], + filter: { + afterStart: true, + createdBy: new Date('1970-01-01T00:00:00.00Z'), + fields: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + labels: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + prefix: "prefix_example", + }, + groupVersionResource: { + group: "group_example", + resource: "resource_example", + version: "version_example", + }, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + }, + }, + service: { + clusterIP: "clusterIP_example", + ports: [ + { + appProtocol: "appProtocol_example", + name: "name_example", + nodePort: 1, + port: 1, + protocol: "SCTP", + targetPort: "targetPort_example", + }, + ], + }, + slack: { + "key": { + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + signingSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sns: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + topicArn: "topicArn_example", + validateSignature: true, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sqs: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + dlq: true, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queue: "queue_example", + queueAccountId: "queueAccountId_example", + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sessionToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + waitTimeSeconds: "waitTimeSeconds_example", + }, + }, + storageGrid: { + "key": { + apiURL: "apiURL_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + topicArn: "topicArn_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + stripe: { + "key": { + apiKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + createWebhook: true, + eventFilter: [ + "eventFilter_example", + ], + metadata: { + "key": "key_example", + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + webhook: { + "key": { + filter: { + expression: "expression_example", + }, + webhookContext: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + namespace: "namespace_example", + }, +}; + +apiInstance.eventSourceServiceCreateEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **EventsourceCreateEventSourceRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceDeleteEventSource** +> any eventSourceServiceDeleteEventSource() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.eventSourceServiceDeleteEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceEventSourcesLogs** +> StreamResultOfEventsourceLogEntry eventSourceServiceEventSourcesLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest = { + // string + namespace: "namespace_example", + // string | optional - only return entries for this event source. (optional) + name: "name_example", + // string | optional - only return entries for this event source type (e.g. `webhook`). (optional) + eventSourceType: "eventSourceType_example", + // string | optional - only return entries for this event name (e.g. `example`). (optional) + eventName: "eventName_example", + // string | optional - only return entries where `msg` matches this regular expression. (optional) + grep: "grep_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + podLogOptionsContainer: "podLogOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + podLogOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + podLogOptionsPrevious: true, + // string | 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. (optional) + podLogOptionsSinceSeconds: "podLogOptions.sinceSeconds_example", + // string | 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. (optional) + podLogOptionsSinceTimeSeconds: "podLogOptions.sinceTime.seconds_example", + // number | 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. (optional) + podLogOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + podLogOptionsTimestamps: true, + // string | 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. (optional) + podLogOptionsTailLines: "podLogOptions.tailLines_example", + // string | 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. (optional) + podLogOptionsLimitBytes: "podLogOptions.limitBytes_example", + // boolean | 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. (optional) + podLogOptionsInsecureSkipTLSVerifyBackend: true, +}; + +apiInstance.eventSourceServiceEventSourcesLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | optional - only return entries for this event source. | (optional) defaults to undefined + **eventSourceType** | [**string**] | optional - only return entries for this event source type (e.g. `webhook`). | (optional) defaults to undefined + **eventName** | [**string**] | optional - only return entries for this event name (e.g. `example`). | (optional) defaults to undefined + **grep** | [**string**] | optional - only return entries where `msg` matches this regular expression. | (optional) defaults to undefined + **podLogOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **podLogOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **podLogOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfEventsourceLogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceGetEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceGetEventSource() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceGetEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", +}; + +apiInstance.eventSourceServiceGetEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceListEventSources** +> IoArgoprojEventsV1alpha1EventSourceList eventSourceServiceListEventSources() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceListEventSourcesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventSourceServiceListEventSources(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceUpdateEventSource** +> IoArgoprojEventsV1alpha1EventSource eventSourceServiceUpdateEventSource(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // EventsourceUpdateEventSourceRequest + body: { + eventSource: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + amqp: { + "key": { + auth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consume: { + autoAck: true, + consumerTag: "consumerTag_example", + exclusive: true, + noLocal: true, + noWait: true, + }, + exchangeDeclare: { + autoDelete: true, + durable: true, + internal: true, + noWait: true, + }, + exchangeName: "exchangeName_example", + exchangeType: "exchangeType_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queueBind: { + noWait: true, + }, + queueDeclare: { + arguments: "arguments_example", + autoDelete: true, + durable: true, + exclusive: true, + name: "name_example", + noWait: true, + }, + routingKey: "routingKey_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + urlSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + azureEventsHub: { + "key": { + filter: { + expression: "expression_example", + }, + fqdn: "fqdn_example", + hubName: "hubName_example", + metadata: { + "key": "key_example", + }, + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + bitbucket: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauthToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + owner: "owner_example", + projectKey: "projectKey_example", + repositories: [ + { + owner: "owner_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + bitbucketserver: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bitbucketserverBaseURL: "bitbucketserverBaseURL_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + projectKey: "projectKey_example", + repositories: [ + { + projectKey: "projectKey_example", + repositorySlug: "repositorySlug_example", + }, + ], + repositorySlug: "repositorySlug_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + calendar: { + "key": { + exclusionDates: [ + "exclusionDates_example", + ], + filter: { + expression: "expression_example", + }, + interval: "interval_example", + metadata: { + "key": "key_example", + }, + persistence: { + catchup: { + enabled: true, + maxDuration: "maxDuration_example", + }, + configMap: { + createIfNotExist: true, + name: "name_example", + }, + }, + schedule: "schedule_example", + timezone: "timezone_example", + }, + }, + emitter: { + "key": { + broker: "broker_example", + channelKey: "channelKey_example", + channelName: "channelName_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + eventBusName: "eventBusName_example", + file: { + "key": { + eventType: "eventType_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + polling: true, + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + generic: { + "key": { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + config: "config_example", + filter: { + expression: "expression_example", + }, + insecure: true, + jsonBody: true, + metadata: { + "key": "key_example", + }, + url: "url_example", + }, + }, + github: { + "key": { + active: true, + apiToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + contentType: "contentType_example", + deleteHookOnFinish: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + githubApp: { + appID: "appID_example", + installationID: "installationID_example", + privateKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + githubBaseURL: "githubBaseURL_example", + githubUploadURL: "githubUploadURL_example", + id: "id_example", + insecure: true, + metadata: { + "key": "key_example", + }, + organizations: [ + "organizations_example", + ], + owner: "owner_example", + repositories: [ + { + names: [ + "names_example", + ], + owner: "owner_example", + }, + ], + repository: "repository_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + webhookSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + gitlab: { + "key": { + accessToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteHookOnFinish: true, + enableSSLVerification: true, + events: [ + "events_example", + ], + filter: { + expression: "expression_example", + }, + gitlabBaseURL: "gitlabBaseURL_example", + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + projects: [ + "projects_example", + ], + secretToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + hdfs: { + "key": { + addresses: [ + "addresses_example", + ], + checkInterval: "checkInterval_example", + filter: { + expression: "expression_example", + }, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + metadata: { + "key": "key_example", + }, + type: "type_example", + watchPathConfig: { + directory: "directory_example", + path: "path_example", + pathRegexp: "pathRegexp_example", + }, + }, + }, + kafka: { + "key": { + config: "config_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + consumerGroup: { + groupName: "groupName_example", + oldest: true, + rebalanceStrategy: "rebalanceStrategy_example", + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + limitEventsPerSecond: "limitEventsPerSecond_example", + metadata: { + "key": "key_example", + }, + partition: "partition_example", + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + }, + minio: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + mqtt: { + "key": { + clientId: "clientId_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + }, + }, + nats: { + "key": { + auth: { + basic: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + credential: { + key: "key_example", + name: "name_example", + optional: true, + }, + nkey: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + }, + nsq: { + "key": { + channel: "channel_example", + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + }, + }, + pubSub: { + "key": { + credentialSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + deleteSubscriptionOnFinish: true, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + projectID: "projectID_example", + subscriptionID: "subscriptionID_example", + topic: "topic_example", + topicProjectID: "topicProjectID_example", + }, + }, + pulsar: { + "key": { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topics: [ + "topics_example", + ], + type: "type_example", + url: "url_example", + }, + }, + redis: { + "key": { + channels: [ + "channels_example", + ], + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + jsonBody: true, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + redisStream: { + "key": { + consumerGroup: "consumerGroup_example", + db: 1, + filter: { + expression: "expression_example", + }, + hostAddress: "hostAddress_example", + maxMsgCountPerRead: 1, + metadata: { + "key": "key_example", + }, + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + streams: [ + "streams_example", + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + username: "username_example", + }, + }, + replicas: 1, + resource: { + "key": { + eventTypes: [ + "eventTypes_example", + ], + filter: { + afterStart: true, + createdBy: new Date('1970-01-01T00:00:00.00Z'), + fields: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + labels: [ + { + key: "key_example", + operation: "operation_example", + value: "value_example", + }, + ], + prefix: "prefix_example", + }, + groupVersionResource: { + group: "group_example", + resource: "resource_example", + version: "version_example", + }, + metadata: { + "key": "key_example", + }, + namespace: "namespace_example", + }, + }, + service: { + clusterIP: "clusterIP_example", + ports: [ + { + appProtocol: "appProtocol_example", + name: "name_example", + nodePort: 1, + port: 1, + protocol: "SCTP", + targetPort: "targetPort_example", + }, + ], + }, + slack: { + "key": { + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + signingSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + token: { + key: "key_example", + name: "name_example", + optional: true, + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sns: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + topicArn: "topicArn_example", + validateSignature: true, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + sqs: { + "key": { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + dlq: true, + endpoint: "endpoint_example", + filter: { + expression: "expression_example", + }, + jsonBody: true, + metadata: { + "key": "key_example", + }, + queue: "queue_example", + queueAccountId: "queueAccountId_example", + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sessionToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + waitTimeSeconds: "waitTimeSeconds_example", + }, + }, + storageGrid: { + "key": { + apiURL: "apiURL_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + metadata: { + "key": "key_example", + }, + region: "region_example", + topicArn: "topicArn_example", + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + stripe: { + "key": { + apiKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + createWebhook: true, + eventFilter: [ + "eventFilter_example", + ], + metadata: { + "key": "key_example", + }, + webhook: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + webhook: { + "key": { + filter: { + expression: "expression_example", + }, + webhookContext: { + authSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpoint: "endpoint_example", + maxPayloadSize: "maxPayloadSize_example", + metadata: { + "key": "key_example", + }, + method: "method_example", + port: "port_example", + serverCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + serverKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + }, + }, + }, + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.eventSourceServiceUpdateEventSource(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **EventsourceUpdateEventSourceRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1EventSource** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **eventSourceServiceWatchEventSources** +> StreamResultOfEventsourceEventSourceWatchEvent eventSourceServiceWatchEventSources() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .EventSourceServiceApi(configuration); + +let body:.EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.eventSourceServiceWatchEventSources(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfEventsourceEventSourceWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/InfoServiceApi.md b/plugins/argo-workflows/src/api/generated/InfoServiceApi.md new file mode 100644 index 0000000..9787b8e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/InfoServiceApi.md @@ -0,0 +1,213 @@ +# .InfoServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**infoServiceCollectEvent**](InfoServiceApi.md#infoServiceCollectEvent) | **POST** /api/v1/tracking/event | +[**infoServiceGetInfo**](InfoServiceApi.md#infoServiceGetInfo) | **GET** /api/v1/info | +[**infoServiceGetUserInfo**](InfoServiceApi.md#infoServiceGetUserInfo) | **GET** /api/v1/userinfo | +[**infoServiceGetVersion**](InfoServiceApi.md#infoServiceGetVersion) | **GET** /api/v1/version | + + +# **infoServiceCollectEvent** +> any infoServiceCollectEvent(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:.InfoServiceApiInfoServiceCollectEventRequest = { + // IoArgoprojWorkflowV1alpha1CollectEventRequest + body: { + name: "name_example", + }, +}; + +apiInstance.infoServiceCollectEvent(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1CollectEventRequest**| | + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetInfo** +> IoArgoprojWorkflowV1alpha1InfoResponse infoServiceGetInfo() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetInfo(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1InfoResponse** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetUserInfo** +> IoArgoprojWorkflowV1alpha1GetUserInfoResponse infoServiceGetUserInfo() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetUserInfo(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1GetUserInfoResponse** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **infoServiceGetVersion** +> IoArgoprojWorkflowV1alpha1Version infoServiceGetVersion() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .InfoServiceApi(configuration); + +let body:any = {}; + +apiInstance.infoServiceGetVersion(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**IoArgoprojWorkflowV1alpha1Version** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/README.md b/plugins/argo-workflows/src/api/generated/README.md new file mode 100644 index 0000000..f1f2196 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/README.md @@ -0,0 +1,80 @@ +## @ + +This generator creates TypeScript/JavaScript client that utilizes fetch-api. + +### Building + +To build and compile the typescript sources to javascript use: +``` +npm install +npm run build +``` + +### Publishing + +First build the package then run ```npm publish``` + +### Consuming + +Navigate to the folder of your consuming project and run one of the following commands. + +_published:_ + +``` +npm install @ --save +``` + +_unPublished (not recommended):_ + +``` +npm install PATH_TO_GENERATED_PACKAGE --save +``` + +### Usage + +Below code snippet shows exemplary usage of the configuration and the API based +on the typical `PetStore` example used for OpenAPI. + +``` +import * as your_api from 'your_api_package' + +// Covers all auth methods included in your OpenAPI yaml definition +const authConfig: your_api.AuthMethodsConfiguration = { + "api_key": "YOUR_API_KEY" +} + +// Implements a simple middleware to modify requests before (`pre`) they are sent +// and after (`post`) they have been received +class Test implements your_api.Middleware { + pre(context: your_api.RequestContext): Promise { + // Modify context here and return + return Promise.resolve(context); + } + + post(context: your_api.ResponseContext): Promise { + return Promise.resolve(context); + } + +} + +// Create configuration parameter object +const configurationParameters = { + httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine + baseServer: your_api.servers[0], // First server is default + authMethods: authConfig, // No auth is default + promiseMiddleware: [new Test()], +} + +// Convert to actual configuration +const config = your_api.createConfiguration(configurationParameters); + +// Use configuration with your_api +const api = new your_api.PetApi(config); +your_api.Pet p = new your_api.Pet(); +p.name = "My new pet"; +p.photoUrls = []; +p.tags = []; +p.status = "available"; +Promise createdPet = api.addPet(p); + +``` diff --git a/plugins/argo-workflows/src/api/generated/SensorServiceApi.md b/plugins/argo-workflows/src/api/generated/SensorServiceApi.md new file mode 100644 index 0000000..49c6400 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/SensorServiceApi.md @@ -0,0 +1,4071 @@ +# .SensorServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**sensorServiceCreateSensor**](SensorServiceApi.md#sensorServiceCreateSensor) | **POST** /api/v1/sensors/{namespace} | +[**sensorServiceDeleteSensor**](SensorServiceApi.md#sensorServiceDeleteSensor) | **DELETE** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceGetSensor**](SensorServiceApi.md#sensorServiceGetSensor) | **GET** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceListSensors**](SensorServiceApi.md#sensorServiceListSensors) | **GET** /api/v1/sensors/{namespace} | +[**sensorServiceSensorsLogs**](SensorServiceApi.md#sensorServiceSensorsLogs) | **GET** /api/v1/stream/sensors/{namespace}/logs | +[**sensorServiceUpdateSensor**](SensorServiceApi.md#sensorServiceUpdateSensor) | **PUT** /api/v1/sensors/{namespace}/{name} | +[**sensorServiceWatchSensors**](SensorServiceApi.md#sensorServiceWatchSensors) | **GET** /api/v1/stream/sensors/{namespace} | + + +# **sensorServiceCreateSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceCreateSensor(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceCreateSensorRequest = { + // string + namespace: "namespace_example", + // SensorCreateSensorRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + sensor: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + dependencies: [ + { + eventName: "eventName_example", + eventSourceName: "eventSourceName_example", + filters: { + context: { + datacontenttype: "datacontenttype_example", + id: "id_example", + source: "source_example", + specversion: "specversion_example", + subject: "subject_example", + time: new Date('1970-01-01T00:00:00.00Z'), + type: "type_example", + }, + data: [ + { + comparator: "comparator_example", + path: "path_example", + template: "template_example", + type: "type_example", + value: [ + "value_example", + ], + }, + ], + dataLogicalOperator: "dataLogicalOperator_example", + exprLogicalOperator: "exprLogicalOperator_example", + exprs: [ + { + expr: "expr_example", + fields: [ + { + name: "name_example", + path: "path_example", + }, + ], + }, + ], + script: "script_example", + time: { + start: "start_example", + stop: "stop_example", + }, + }, + filtersLogicalOperator: "filtersLogicalOperator_example", + name: "name_example", + transform: { + jq: "jq_example", + script: "script_example", + }, + }, + ], + errorOnFailedRound: true, + eventBusName: "eventBusName_example", + replicas: 1, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + triggers: [ + { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + policy: { + k8s: { + backoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + errorOnBackoffTimeout: true, + labels: { + "key": "key_example", + }, + }, + status: { + allow: [ + 1, + ], + }, + }, + rateLimit: { + requestsPerUnit: 1, + unit: "unit_example", + }, + retryStrategy: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + template: { + argoWorkflow: { + args: [ + "args_example", + ], + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + awsLambda: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + functionName: "functionName_example", + invocationType: "invocationType_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azureEventHubs: { + fqdn: "fqdn_example", + hubName: "hubName_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + conditions: "conditions_example", + conditionsReset: [ + { + byTime: { + cron: "cron_example", + timezone: "timezone_example", + }, + }, + ], + custom: { + certSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secure: true, + serverNameOverride: "serverNameOverride_example", + serverURL: "serverURL_example", + spec: { + "key": "key_example", + }, + }, + http: { + basicAuth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + headers: { + "key": "key_example", + }, + method: "method_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secureHeaders: [ + { + name: "name_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + timeout: "timeout_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + k8s: { + liveObject: true, + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + patchStrategy: "patchStrategy_example", + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + kafka: { + compress: true, + flushFrequency: 1, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + partition: 1, + partitioningKey: "partitioningKey_example", + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + requiredAcks: 1, + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + log: { + intervalSeconds: "intervalSeconds_example", + }, + name: "name_example", + nats: { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + openWhisk: { + actionName: "actionName_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + host: "host_example", + namespace: "namespace_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + version: "version_example", + }, + pulsar: { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topic: "topic_example", + url: "url_example", + }, + slack: { + channel: "channel_example", + message: "message_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + slackToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + }, + ], + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + }, +}; + +apiInstance.sensorServiceCreateSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **SensorCreateSensorRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceDeleteSensor** +> any sensorServiceDeleteSensor() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceDeleteSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.sensorServiceDeleteSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceGetSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceGetSensor() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceGetSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.sensorServiceGetSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceListSensors** +> IoArgoprojEventsV1alpha1SensorList sensorServiceListSensors() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceListSensorsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.sensorServiceListSensors(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1SensorList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceSensorsLogs** +> StreamResultOfSensorLogEntry sensorServiceSensorsLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceSensorsLogsRequest = { + // string + namespace: "namespace_example", + // string | optional - only return entries for this sensor name. (optional) + name: "name_example", + // string | optional - only return entries for this trigger. (optional) + triggerName: "triggerName_example", + // string | option - only return entries where `msg` contains this regular expressions. (optional) + grep: "grep_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + podLogOptionsContainer: "podLogOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + podLogOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + podLogOptionsPrevious: true, + // string | 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. (optional) + podLogOptionsSinceSeconds: "podLogOptions.sinceSeconds_example", + // string | 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. (optional) + podLogOptionsSinceTimeSeconds: "podLogOptions.sinceTime.seconds_example", + // number | 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. (optional) + podLogOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + podLogOptionsTimestamps: true, + // string | 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. (optional) + podLogOptionsTailLines: "podLogOptions.tailLines_example", + // string | 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. (optional) + podLogOptionsLimitBytes: "podLogOptions.limitBytes_example", + // boolean | 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. (optional) + podLogOptionsInsecureSkipTLSVerifyBackend: true, +}; + +apiInstance.sensorServiceSensorsLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | optional - only return entries for this sensor name. | (optional) defaults to undefined + **triggerName** | [**string**] | optional - only return entries for this trigger. | (optional) defaults to undefined + **grep** | [**string**] | option - only return entries where `msg` contains this regular expressions. | (optional) defaults to undefined + **podLogOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **podLogOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **podLogOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **podLogOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **podLogOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfSensorLogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceUpdateSensor** +> IoArgoprojEventsV1alpha1Sensor sensorServiceUpdateSensor(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceUpdateSensorRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // SensorUpdateSensorRequest + body: { + name: "name_example", + namespace: "namespace_example", + sensor: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + dependencies: [ + { + eventName: "eventName_example", + eventSourceName: "eventSourceName_example", + filters: { + context: { + datacontenttype: "datacontenttype_example", + id: "id_example", + source: "source_example", + specversion: "specversion_example", + subject: "subject_example", + time: new Date('1970-01-01T00:00:00.00Z'), + type: "type_example", + }, + data: [ + { + comparator: "comparator_example", + path: "path_example", + template: "template_example", + type: "type_example", + value: [ + "value_example", + ], + }, + ], + dataLogicalOperator: "dataLogicalOperator_example", + exprLogicalOperator: "exprLogicalOperator_example", + exprs: [ + { + expr: "expr_example", + fields: [ + { + name: "name_example", + path: "path_example", + }, + ], + }, + ], + script: "script_example", + time: { + start: "start_example", + stop: "stop_example", + }, + }, + filtersLogicalOperator: "filtersLogicalOperator_example", + name: "name_example", + transform: { + jq: "jq_example", + script: "script_example", + }, + }, + ], + errorOnFailedRound: true, + eventBusName: "eventBusName_example", + replicas: 1, + template: { + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + nodeSelector: { + "key": "key_example", + }, + priority: 1, + priorityClassName: "priorityClassName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + triggers: [ + { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + policy: { + k8s: { + backoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + errorOnBackoffTimeout: true, + labels: { + "key": "key_example", + }, + }, + status: { + allow: [ + 1, + ], + }, + }, + rateLimit: { + requestsPerUnit: 1, + unit: "unit_example", + }, + retryStrategy: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + template: { + argoWorkflow: { + args: [ + "args_example", + ], + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + awsLambda: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + functionName: "functionName_example", + invocationType: "invocationType_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + region: "region_example", + roleARN: "roleARN_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azureEventHubs: { + fqdn: "fqdn_example", + hubName: "hubName_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + sharedAccessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + sharedAccessKeyName: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + conditions: "conditions_example", + conditionsReset: [ + { + byTime: { + cron: "cron_example", + timezone: "timezone_example", + }, + }, + ], + custom: { + certSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secure: true, + serverNameOverride: "serverNameOverride_example", + serverURL: "serverURL_example", + spec: { + "key": "key_example", + }, + }, + http: { + basicAuth: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + headers: { + "key": "key_example", + }, + method: "method_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + secureHeaders: [ + { + name: "name_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + timeout: "timeout_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + k8s: { + liveObject: true, + operation: "operation_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + patchStrategy: "patchStrategy_example", + source: { + configmap: { + key: "key_example", + name: "name_example", + optional: true, + }, + file: { + path: "path_example", + }, + git: { + branch: "branch_example", + cloneDirectory: "cloneDirectory_example", + creds: { + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + username: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + filePath: "filePath_example", + insecureIgnoreHostKey: true, + ref: "ref_example", + remote: { + name: "name_example", + urls: [ + "urls_example", + ], + }, + sshKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tag: "tag_example", + url: "url_example", + }, + inline: "inline_example", + resource: { + value: 'YQ==', + }, + s3: { + accessKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: { + key: "key_example", + name: "name_example", + }, + endpoint: "endpoint_example", + events: [ + "events_example", + ], + filter: { + prefix: "prefix_example", + suffix: "suffix_example", + }, + insecure: true, + metadata: { + "key": "key_example", + }, + region: "region_example", + secretKey: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + url: { + path: "path_example", + verifyCert: true, + }, + }, + }, + kafka: { + compress: true, + flushFrequency: 1, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + partition: 1, + partitioningKey: "partitioningKey_example", + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + requiredAcks: 1, + sasl: { + mechanism: "mechanism_example", + password: { + key: "key_example", + name: "name_example", + optional: true, + }, + user: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + topic: "topic_example", + url: "url_example", + version: "version_example", + }, + log: { + intervalSeconds: "intervalSeconds_example", + }, + name: "name_example", + nats: { + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + subject: "subject_example", + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + url: "url_example", + }, + openWhisk: { + actionName: "actionName_example", + authToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + host: "host_example", + namespace: "namespace_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + version: "version_example", + }, + pulsar: { + authTokenSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + connectionBackoff: { + duration: { + int64Val: "int64Val_example", + strVal: "strVal_example", + type: "type_example", + }, + factor: { + value: 'YQ==', + }, + jitter: { + value: 'YQ==', + }, + steps: 1, + }, + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + payload: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + tls: { + caCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + insecureSkipVerify: true, + }, + tlsAllowInsecureConnection: true, + tlsTrustCertsSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + tlsValidateHostname: true, + topic: "topic_example", + url: "url_example", + }, + slack: { + channel: "channel_example", + message: "message_example", + parameters: [ + { + dest: "dest_example", + operation: "operation_example", + src: { + contextKey: "contextKey_example", + contextTemplate: "contextTemplate_example", + dataKey: "dataKey_example", + dataTemplate: "dataTemplate_example", + dependencyName: "dependencyName_example", + value: "value_example", + }, + }, + ], + slackToken: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + }, + ], + }, + status: { + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + }, + }, +}; + +apiInstance.sensorServiceUpdateSensor(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **SensorUpdateSensorRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojEventsV1alpha1Sensor** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **sensorServiceWatchSensors** +> StreamResultOfSensorSensorWatchEvent sensorServiceWatchSensors() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .SensorServiceApi(configuration); + +let body:.SensorServiceApiSensorServiceWatchSensorsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.sensorServiceWatchSensors(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfSensorSensorWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/WorkflowServiceApi.md b/plugins/argo-workflows/src/api/generated/WorkflowServiceApi.md new file mode 100644 index 0000000..e58fa4a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/WorkflowServiceApi.md @@ -0,0 +1,55168 @@ +# .WorkflowServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**workflowServiceCreateWorkflow**](WorkflowServiceApi.md#workflowServiceCreateWorkflow) | **POST** /api/v1/workflows/{namespace} | +[**workflowServiceDeleteWorkflow**](WorkflowServiceApi.md#workflowServiceDeleteWorkflow) | **DELETE** /api/v1/workflows/{namespace}/{name} | +[**workflowServiceGetWorkflow**](WorkflowServiceApi.md#workflowServiceGetWorkflow) | **GET** /api/v1/workflows/{namespace}/{name} | +[**workflowServiceLintWorkflow**](WorkflowServiceApi.md#workflowServiceLintWorkflow) | **POST** /api/v1/workflows/{namespace}/lint | +[**workflowServiceListWorkflows**](WorkflowServiceApi.md#workflowServiceListWorkflows) | **GET** /api/v1/workflows/{namespace} | +[**workflowServicePodLogs**](WorkflowServiceApi.md#workflowServicePodLogs) | **GET** /api/v1/workflows/{namespace}/{name}/{podName}/log | DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. +[**workflowServiceResubmitWorkflow**](WorkflowServiceApi.md#workflowServiceResubmitWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resubmit | +[**workflowServiceResumeWorkflow**](WorkflowServiceApi.md#workflowServiceResumeWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resume | +[**workflowServiceRetryWorkflow**](WorkflowServiceApi.md#workflowServiceRetryWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/retry | +[**workflowServiceSetWorkflow**](WorkflowServiceApi.md#workflowServiceSetWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/set | +[**workflowServiceStopWorkflow**](WorkflowServiceApi.md#workflowServiceStopWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/stop | +[**workflowServiceSubmitWorkflow**](WorkflowServiceApi.md#workflowServiceSubmitWorkflow) | **POST** /api/v1/workflows/{namespace}/submit | +[**workflowServiceSuspendWorkflow**](WorkflowServiceApi.md#workflowServiceSuspendWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/suspend | +[**workflowServiceTerminateWorkflow**](WorkflowServiceApi.md#workflowServiceTerminateWorkflow) | **PUT** /api/v1/workflows/{namespace}/{name}/terminate | +[**workflowServiceWatchEvents**](WorkflowServiceApi.md#workflowServiceWatchEvents) | **GET** /api/v1/stream/events/{namespace} | +[**workflowServiceWatchWorkflows**](WorkflowServiceApi.md#workflowServiceWatchWorkflows) | **GET** /api/v1/workflow-events/{namespace} | +[**workflowServiceWorkflowLogs**](WorkflowServiceApi.md#workflowServiceWorkflowLogs) | **GET** /api/v1/workflows/{namespace}/{name}/log | + + +# **workflowServiceCreateWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceCreateWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceCreateWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + instanceID: "instanceID_example", + namespace: "namespace_example", + serverDryRun: true, + workflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + status: { + artifactGCStatus: { + notSpecified: true, + podsRecouped: { + "key": true, + }, + strategiesProcessed: { + "key": true, + }, + }, + artifactRepositoryRef: { + artifactRepository: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repoURL: "repoURL_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blobNameFormat: "blobNameFormat_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + keyFormat: "keyFormat_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + pathFormat: "pathFormat_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + keyFormat: "keyFormat_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + keyFormat: "keyFormat_example", + keyPrefix: "keyPrefix_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + configMap: "configMap_example", + _default: true, + key: "key_example", + namespace: "namespace_example", + }, + compressedNodes: "compressedNodes_example", + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + nodes: { + "key": { + boundaryID: "boundaryID_example", + children: [ + "children_example", + ], + daemoned: true, + displayName: "displayName_example", + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + hostNodeName: "hostNodeName_example", + id: "id_example", + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoizationStatus: { + cacheName: "cacheName_example", + hit: true, + key: "key_example", + }, + message: "message_example", + name: "name_example", + outboundNodes: [ + "outboundNodes_example", + ], + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + phase: "phase_example", + podIP: "podIP_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + synchronizationStatus: { + waiting: "waiting_example", + }, + templateName: "templateName_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + templateScope: "templateScope_example", + type: "type_example", + }, + }, + offloadNodeStatusVersion: "offloadNodeStatusVersion_example", + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + persistentVolumeClaims: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + phase: "phase_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + storedTemplates: { + "key": { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + }, + storedWorkflowTemplateSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + synchronization: { + mutex: { + holding: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + waiting: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + }, + semaphore: { + holding: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + waiting: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + }, + }, + }, + }, + }, +}; + +apiInstance.workflowServiceCreateWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowCreateRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceDeleteWorkflow** +> any workflowServiceDeleteWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], + // boolean (optional) + force: true, +}; + +apiInstance.workflowServiceDeleteWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + **force** | [**boolean**] | | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceGetWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceGetWorkflow() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceGetWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", + // string | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceGetWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **fields** | [**string**] | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceLintWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceLintWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceLintWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowLintRequest + body: { + namespace: "namespace_example", + workflow: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + status: { + artifactGCStatus: { + notSpecified: true, + podsRecouped: { + "key": true, + }, + strategiesProcessed: { + "key": true, + }, + }, + artifactRepositoryRef: { + artifactRepository: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repoURL: "repoURL_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blobNameFormat: "blobNameFormat_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + keyFormat: "keyFormat_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + pathFormat: "pathFormat_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + keyFormat: "keyFormat_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + keyFormat: "keyFormat_example", + keyPrefix: "keyPrefix_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + configMap: "configMap_example", + _default: true, + key: "key_example", + namespace: "namespace_example", + }, + compressedNodes: "compressedNodes_example", + conditions: [ + { + message: "message_example", + status: "status_example", + type: "type_example", + }, + ], + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + nodes: { + "key": { + boundaryID: "boundaryID_example", + children: [ + "children_example", + ], + daemoned: true, + displayName: "displayName_example", + estimatedDuration: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + hostNodeName: "hostNodeName_example", + id: "id_example", + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoizationStatus: { + cacheName: "cacheName_example", + hit: true, + key: "key_example", + }, + message: "message_example", + name: "name_example", + outboundNodes: [ + "outboundNodes_example", + ], + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + phase: "phase_example", + podIP: "podIP_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + synchronizationStatus: { + waiting: "waiting_example", + }, + templateName: "templateName_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + templateScope: "templateScope_example", + type: "type_example", + }, + }, + offloadNodeStatusVersion: "offloadNodeStatusVersion_example", + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + persistentVolumeClaims: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + phase: "phase_example", + progress: "progress_example", + resourcesDuration: { + "key": 1, + }, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + storedTemplates: { + "key": { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + }, + storedWorkflowTemplateSpec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + synchronization: { + mutex: { + holding: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + waiting: [ + { + holder: "holder_example", + mutex: "mutex_example", + }, + ], + }, + semaphore: { + holding: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + waiting: [ + { + holders: [ + "holders_example", + ], + semaphore: "semaphore_example", + }, + ], + }, + }, + }, + }, + }, +}; + +apiInstance.workflowServiceLintWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowLintRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceListWorkflows** +> IoArgoprojWorkflowV1alpha1WorkflowList workflowServiceListWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceListWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceListWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **fields** | [**string**] | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServicePodLogs** +> StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry workflowServicePodLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServicePodLogsRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string + podName: "podName_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + logOptionsContainer: "logOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + logOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + logOptionsPrevious: true, + // string | 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. (optional) + logOptionsSinceSeconds: "logOptions.sinceSeconds_example", + // string | 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. (optional) + logOptionsSinceTimeSeconds: "logOptions.sinceTime.seconds_example", + // number | 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. (optional) + logOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + logOptionsTimestamps: true, + // string | 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. (optional) + logOptionsTailLines: "logOptions.tailLines_example", + // string | 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. (optional) + logOptionsLimitBytes: "logOptions.limitBytes_example", + // boolean | 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. (optional) + logOptionsInsecureSkipTLSVerifyBackend: true, + // string (optional) + grep: "grep_example", + // string (optional) + selector: "selector_example", +}; + +apiInstance.workflowServicePodLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **podName** | [**string**] | | defaults to undefined + **logOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **logOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **logOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + **grep** | [**string**] | | (optional) defaults to undefined + **selector** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceResubmitWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceResubmitWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest + body: { + memoized: true, + name: "name_example", + namespace: "namespace_example", + parameters: [ + "parameters_example", + ], + }, +}; + +apiInstance.workflowServiceResubmitWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceResumeWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceResumeWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceResumeWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowResumeRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + }, +}; + +apiInstance.workflowServiceResumeWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowResumeRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceRetryWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceRetryWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceRetryWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowRetryRequest + body: { + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + parameters: [ + "parameters_example", + ], + restartSuccessful: true, + }, +}; + +apiInstance.workflowServiceRetryWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowRetryRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSetWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSetWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSetWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowSetRequest + body: { + message: "message_example", + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + outputParameters: "outputParameters_example", + phase: "phase_example", + }, +}; + +apiInstance.workflowServiceSetWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSetRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceStopWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceStopWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceStopWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowStopRequest + body: { + message: "message_example", + name: "name_example", + namespace: "namespace_example", + nodeFieldSelector: "nodeFieldSelector_example", + }, +}; + +apiInstance.workflowServiceStopWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowStopRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSubmitWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSubmitWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest + body: { + namespace: "namespace_example", + resourceKind: "resourceKind_example", + resourceName: "resourceName_example", + submitOptions: { + annotations: "annotations_example", + dryRun: true, + entryPoint: "entryPoint_example", + generateName: "generateName_example", + labels: "labels_example", + name: "name_example", + ownerReference: { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + parameters: [ + "parameters_example", + ], + podPriorityClassName: "podPriorityClassName_example", + priority: 1, + serverDryRun: true, + serviceAccount: "serviceAccount_example", + }, + }, +}; + +apiInstance.workflowServiceSubmitWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceSuspendWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceSuspendWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.workflowServiceSuspendWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceTerminateWorkflow** +> IoArgoprojWorkflowV1alpha1Workflow workflowServiceTerminateWorkflow(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest + body: { + name: "name_example", + namespace: "namespace_example", + }, +}; + +apiInstance.workflowServiceTerminateWorkflow(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1Workflow** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWatchEvents** +> StreamResultOfIoK8sApiCoreV1Event workflowServiceWatchEvents() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWatchEventsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.workflowServiceWatchEvents(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoK8sApiCoreV1Event** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWatchWorkflows** +> StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent workflowServiceWatchWorkflows() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", + // string (optional) + fields: "fields_example", +}; + +apiInstance.workflowServiceWatchWorkflows(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + **fields** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowServiceWorkflowLogs** +> StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry workflowServiceWorkflowLogs() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowServiceApi(configuration); + +let body:.WorkflowServiceApiWorkflowServiceWorkflowLogsRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string (optional) + podName: "podName_example", + // string | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) + logOptionsContainer: "logOptions.container_example", + // boolean | Follow the log stream of the pod. Defaults to false. +optional. (optional) + logOptionsFollow: true, + // boolean | Return previous terminated container logs. Defaults to false. +optional. (optional) + logOptionsPrevious: true, + // string | 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. (optional) + logOptionsSinceSeconds: "logOptions.sinceSeconds_example", + // string | 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. (optional) + logOptionsSinceTimeSeconds: "logOptions.sinceTime.seconds_example", + // number | 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. (optional) + logOptionsSinceTimeNanos: 1, + // boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) + logOptionsTimestamps: true, + // string | 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. (optional) + logOptionsTailLines: "logOptions.tailLines_example", + // string | 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. (optional) + logOptionsLimitBytes: "logOptions.limitBytes_example", + // boolean | 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. (optional) + logOptionsInsecureSkipTLSVerifyBackend: true, + // string (optional) + grep: "grep_example", + // string (optional) + selector: "selector_example", +}; + +apiInstance.workflowServiceWorkflowLogs(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **podName** | [**string**] | | (optional) defaults to undefined + **logOptionsContainer** | [**string**] | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | (optional) defaults to undefined + **logOptionsFollow** | [**boolean**] | Follow the log stream of the pod. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsPrevious** | [**boolean**] | Return previous terminated container logs. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsSinceSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeSeconds** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsSinceTimeNanos** | [**number**] | 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. | (optional) defaults to undefined + **logOptionsTimestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | (optional) defaults to undefined + **logOptionsTailLines** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsLimitBytes** | [**string**] | 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. | (optional) defaults to undefined + **logOptionsInsecureSkipTLSVerifyBackend** | [**boolean**] | 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. | (optional) defaults to undefined + **grep** | [**string**] | | (optional) defaults to undefined + **selector** | [**string**] | | (optional) defaults to undefined + + +### Return type + +**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response.(streaming responses) | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/WorkflowTemplateServiceApi.md b/plugins/argo-workflows/src/api/generated/WorkflowTemplateServiceApi.md new file mode 100644 index 0000000..a927ff2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/WorkflowTemplateServiceApi.md @@ -0,0 +1,32045 @@ +# .WorkflowTemplateServiceApi + +All URIs are relative to *http://localhost:2746* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**workflowTemplateServiceCreateWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceCreateWorkflowTemplate) | **POST** /api/v1/workflow-templates/{namespace} | +[**workflowTemplateServiceDeleteWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceDeleteWorkflowTemplate) | **DELETE** /api/v1/workflow-templates/{namespace}/{name} | +[**workflowTemplateServiceGetWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceGetWorkflowTemplate) | **GET** /api/v1/workflow-templates/{namespace}/{name} | +[**workflowTemplateServiceLintWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceLintWorkflowTemplate) | **POST** /api/v1/workflow-templates/{namespace}/lint | +[**workflowTemplateServiceListWorkflowTemplates**](WorkflowTemplateServiceApi.md#workflowTemplateServiceListWorkflowTemplates) | **GET** /api/v1/workflow-templates/{namespace} | +[**workflowTemplateServiceUpdateWorkflowTemplate**](WorkflowTemplateServiceApi.md#workflowTemplateServiceUpdateWorkflowTemplate) | **PUT** /api/v1/workflow-templates/{namespace}/{name} | + + +# **workflowTemplateServiceCreateWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceCreateWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceCreateWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceDeleteWorkflowTemplate** +> any workflowTemplateServiceDeleteWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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. (optional) + deleteOptionsGracePeriodSeconds: "deleteOptions.gracePeriodSeconds_example", + // string | Specifies the target UID. +optional. (optional) + deleteOptionsPreconditionsUid: "deleteOptions.preconditions.uid_example", + // string | Specifies the target ResourceVersion +optional. (optional) + deleteOptionsPreconditionsResourceVersion: "deleteOptions.preconditions.resourceVersion_example", + // boolean | 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. (optional) + deleteOptionsOrphanDependents: true, + // string | 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. (optional) + deleteOptionsPropagationPolicy: "deleteOptions.propagationPolicy_example", + // Array | 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. (optional) + deleteOptionsDryRun: [ + "deleteOptions.dryRun_example", + ], +}; + +apiInstance.workflowTemplateServiceDeleteWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **deleteOptionsGracePeriodSeconds** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsPreconditionsUid** | [**string**] | Specifies the target UID. +optional. | (optional) defaults to undefined + **deleteOptionsPreconditionsResourceVersion** | [**string**] | Specifies the target ResourceVersion +optional. | (optional) defaults to undefined + **deleteOptionsOrphanDependents** | [**boolean**] | 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. | (optional) defaults to undefined + **deleteOptionsPropagationPolicy** | [**string**] | 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. | (optional) defaults to undefined + **deleteOptionsDryRun** | **Array<string>** | 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. | (optional) defaults to undefined + + +### Return type + +**any** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceGetWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceGetWorkflowTemplate() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string + name: "name_example", + // string | 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 (optional) + getOptionsResourceVersion: "getOptions.resourceVersion_example", +}; + +apiInstance.workflowTemplateServiceGetWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | | defaults to undefined + **getOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceLintWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceLintWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest + body: { + createOptions: { + dryRun: [ + "dryRun_example", + ], + fieldManager: "fieldManager_example", + fieldValidation: "fieldValidation_example", + }, + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceLintWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest**| | + **namespace** | [**string**] | | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceListWorkflowTemplates** +> IoArgoprojWorkflowV1alpha1WorkflowTemplateList workflowTemplateServiceListWorkflowTemplates() + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest = { + // string + namespace: "namespace_example", + // string | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) + listOptionsLabelSelector: "listOptions.labelSelector_example", + // string | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) + listOptionsFieldSelector: "listOptions.fieldSelector_example", + // boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) + listOptionsWatch: true, + // boolean | 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. (optional) + listOptionsAllowWatchBookmarks: true, + // string | 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 (optional) + listOptionsResourceVersion: "listOptions.resourceVersion_example", + // string | 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 (optional) + listOptionsResourceVersionMatch: "listOptions.resourceVersionMatch_example", + // string | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) + listOptionsTimeoutSeconds: "listOptions.timeoutSeconds_example", + // string | 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. (optional) + listOptionsLimit: "listOptions.limit_example", + // string | 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. (optional) + listOptionsContinue: "listOptions.continue_example", +}; + +apiInstance.workflowTemplateServiceListWorkflowTemplates(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | | defaults to undefined + **listOptionsLabelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsFieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | (optional) defaults to undefined + **listOptionsWatch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | (optional) defaults to undefined + **listOptionsAllowWatchBookmarks** | [**boolean**] | 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. | (optional) defaults to undefined + **listOptionsResourceVersion** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsResourceVersionMatch** | [**string**] | 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 | (optional) defaults to undefined + **listOptionsTimeoutSeconds** | [**string**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | (optional) defaults to undefined + **listOptionsLimit** | [**string**] | 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. | (optional) defaults to undefined + **listOptionsContinue** | [**string**] | 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. | (optional) defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **workflowTemplateServiceUpdateWorkflowTemplate** +> IoArgoprojWorkflowV1alpha1WorkflowTemplate workflowTemplateServiceUpdateWorkflowTemplate(body) + + +### Example + + +```typescript +import { } from ''; +import * as fs from 'fs'; + +const configuration = .createConfiguration(); +const apiInstance = new .WorkflowTemplateServiceApi(configuration); + +let body:.WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest = { + // string + namespace: "namespace_example", + // string | DEPRECATED: This field is ignored. + name: "name_example", + // IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest + body: { + name: "name_example", + namespace: "namespace_example", + template: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLogs: true, + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + artifactGC: { + forceFinalizerRemoval: true, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactRepositoryRef: { + configMap: "configMap_example", + key: "key_example", + }, + automountServiceAccountToken: true, + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + entrypoint: "entrypoint_example", + executor: { + serviceAccountName: "serviceAccountName_example", + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostNetwork: true, + imagePullSecrets: [ + { + name: "name_example", + }, + ], + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + nodeSelector: { + "key": "key_example", + }, + onExit: "onExit_example", + parallelism: 1, + podDisruptionBudget: { + maxUnavailable: "maxUnavailable_example", + minAvailable: "minAvailable_example", + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + }, + podGC: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + strategy: "strategy_example", + }, + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + podPriority: 1, + podPriorityClassName: "podPriorityClassName_example", + podSpecPatch: "podSpecPatch_example", + priority: 1, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + shutdown: "shutdown_example", + suspend: true, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + templateDefaults: { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + templates: [ + { + activeDeadlineSeconds: "activeDeadlineSeconds_example", + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "DoesNotExist", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + archiveLocation: { + archiveLogs: true, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + raw: { + data: "data_example", + }, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + }, + automountServiceAccountToken: true, + container: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "Always", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "FallbackToLogsOnError", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + containerSet: { + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + dependencies: [ + "dependencies_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + retryStrategy: { + duration: "duration_example", + retries: "retries_example", + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + }, + daemon: true, + dag: { + failFast: true, + target: "target_example", + tasks: [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + dependencies: [ + "dependencies_example", + ], + depends: "depends_example", + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + }, + data: { + source: { + artifactPaths: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + transformation: [ + { + expression: "expression_example", + }, + ], + }, + executor: { + serviceAccountName: "serviceAccountName_example", + }, + failFast: true, + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + http: { + body: "body_example", + bodyFrom: { + bytes: 'YQ==', + }, + headers: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + insecureSkipVerify: true, + method: "method_example", + successCondition: "successCondition_example", + timeoutSeconds: 1, + url: "url_example", + }, + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + inputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + memoize: { + cache: { + configMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + key: "key_example", + maxAge: "maxAge_example", + }, + metadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + metrics: { + prometheus: [ + { + counter: { + value: "value_example", + }, + gauge: { + operation: "operation_example", + realtime: true, + value: "value_example", + }, + help: "help_example", + histogram: { + buckets: [ + 3.14, + ], + value: "value_example", + }, + labels: [ + { + key: "key_example", + value: "value_example", + }, + ], + name: "name_example", + when: "when_example", + }, + ], + }, + name: "name_example", + nodeSelector: { + "key": "key_example", + }, + outputs: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + exitCode: "exitCode_example", + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + result: "result_example", + }, + parallelism: 1, + plugin: {}, + podSpecPatch: "podSpecPatch_example", + priority: 1, + priorityClassName: "priorityClassName_example", + resource: { + action: "action_example", + failureCondition: "failureCondition_example", + flags: [ + "flags_example", + ], + manifest: "manifest_example", + manifestFrom: { + artifact: { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + }, + mergeStrategy: "mergeStrategy_example", + setOwnerReference: true, + successCondition: "successCondition_example", + }, + retryStrategy: { + affinity: { + nodeAntiAffinity: {}, + }, + backoff: { + duration: "duration_example", + factor: "factor_example", + maxDuration: "maxDuration_example", + }, + expression: "expression_example", + limit: "limit_example", + retryPolicy: "retryPolicy_example", + }, + schedulerName: "schedulerName_example", + script: { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + source: "source_example", + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + securityContext: { + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + supplementalGroups: [ + 1, + ], + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + sidecars: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + mirrorVolumeMounts: true, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "SCTP", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + securityContext: { + allowPrivilegeEscalation: true, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "Localhost", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "HTTP", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + steps: [ + [ + { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + continueOn: { + error: true, + failed: true, + }, + hooks: { + "key": { + arguments: { + artifacts: [ + { + archive: { + none: {}, + tar: { + compressionLevel: 1, + }, + zip: {}, + }, + archiveLogs: true, + artifactGC: { + podMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + }, + serviceAccountName: "serviceAccountName_example", + strategy: "strategy_example", + }, + artifactory: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + url: "url_example", + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + azure: { + accountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + blob: "blob_example", + container: "container_example", + endpoint: "endpoint_example", + useSDKCreds: true, + }, + deleted: true, + _from: "_from_example", + fromExpression: "fromExpression_example", + gcs: { + bucket: "bucket_example", + key: "key_example", + serviceAccountKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + git: { + branch: "branch_example", + depth: 1, + disableSubmodules: true, + fetch: [ + "fetch_example", + ], + insecureIgnoreHostKey: true, + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + repo: "repo_example", + revision: "revision_example", + singleBranch: true, + sshPrivateKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + globalName: "globalName_example", + hdfs: { + addresses: [ + "addresses_example", + ], + force: true, + hdfsUser: "hdfsUser_example", + krbCCacheSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbConfigConfigMap: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbKeytabSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + krbRealm: "krbRealm_example", + krbServicePrincipalName: "krbServicePrincipalName_example", + krbUsername: "krbUsername_example", + path: "path_example", + }, + http: { + auth: { + basicAuth: { + passwordSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + usernameSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + clientCert: { + clientCertSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + oauth2: { + clientIDSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + clientSecretSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + endpointParams: [ + { + key: "key_example", + value: "value_example", + }, + ], + scopes: [ + "scopes_example", + ], + tokenURLSecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + headers: [ + { + name: "name_example", + value: "value_example", + }, + ], + url: "url_example", + }, + mode: 1, + name: "name_example", + optional: true, + oss: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: true, + endpoint: "endpoint_example", + key: "key_example", + lifecycleRule: { + markDeletionAfterDays: 1, + markInfrequentAccessAfterDays: 1, + }, + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + securityToken: "securityToken_example", + }, + path: "path_example", + raw: { + data: "data_example", + }, + recurseMode: true, + s3: { + accessKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + bucket: "bucket_example", + createBucketIfNotPresent: { + objectLocking: true, + }, + encryptionOptions: { + enableEncryption: true, + kmsEncryptionContext: "kmsEncryptionContext_example", + kmsKeyId: "kmsKeyId_example", + serverSideCustomerKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + endpoint: "endpoint_example", + insecure: true, + key: "key_example", + region: "region_example", + roleARN: "roleARN_example", + secretKeySecret: { + key: "key_example", + name: "name_example", + optional: true, + }, + useSDKCreds: true, + }, + subPath: "subPath_example", + }, + ], + parameters: [ + { + _default: "_default_example", + description: "description_example", + _enum: [ + "_enum_example", + ], + globalName: "globalName_example", + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + _default: "_default_example", + event: "event_example", + expression: "expression_example", + jqFilter: "jqFilter_example", + jsonPath: "jsonPath_example", + parameter: "parameter_example", + path: "path_example", + supplied: {}, + }, + }, + ], + }, + expression: "expression_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + }, + }, + inline: , + name: "name_example", + onExit: "onExit_example", + template: "template_example", + templateRef: { + clusterScope: true, + name: "name_example", + template: "template_example", + }, + when: "when_example", + withItems: [ + {}, + ], + withParam: "withParam_example", + withSequence: { + count: "count_example", + end: "end_example", + format: "format_example", + start: "start_example", + }, + }, + ], + ], + suspend: { + duration: "duration_example", + }, + synchronization: { + mutex: { + name: "name_example", + namespace: "namespace_example", + }, + semaphore: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + namespace: "namespace_example", + }, + }, + timeout: "timeout_example", + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + ], + tolerations: [ + { + effect: "NoExecute", + key: "key_example", + operator: "Equal", + tolerationSeconds: 1, + value: "value_example", + }, + ], + ttlStrategy: { + secondsAfterCompletion: 1, + secondsAfterFailure: 1, + secondsAfterSuccess: 1, + }, + volumeClaimGC: { + strategy: "strategy_example", + }, + volumeClaimTemplates: [ + { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + status: { + accessModes: [ + "accessModes_example", + ], + allocatedResources: { + "key": "key_example", + }, + capacity: { + "key": "key_example", + }, + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "FileSystemResizePending", + }, + ], + phase: "Bound", + resizeStatus: "resizeStatus_example", + }, + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + clusterName: "clusterName_example", + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + workflowMetadata: { + annotations: { + "key": "key_example", + }, + labels: { + "key": "key_example", + }, + labelsFrom: { + "key": { + expression: "expression_example", + }, + }, + }, + workflowTemplateRef: { + clusterScope: true, + name: "name_example", + }, + }, + }, + }, +}; + +apiInstance.workflowTemplateServiceUpdateWorkflowTemplate(body).then((data:any) => { + console.log('API called successfully. Returned data: ' + data); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest**| | + **namespace** | [**string**] | | defaults to undefined + **name** | [**string**] | DEPRECATED: This field is ignored. | defaults to undefined + + +### Return type + +**IoArgoprojWorkflowV1alpha1WorkflowTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A successful response. | - | +**0** | An unexpected error response. | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/plugins/argo-workflows/src/api/generated/apis/ArchivedWorkflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/ArchivedWorkflowServiceApi.ts new file mode 100644 index 0000000..8440171 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/ArchivedWorkflowServiceApi.ts @@ -0,0 +1,719 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; + +/** + * no description + */ +export class ArchivedWorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param uid + * @param namespace + */ + public async archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceDeleteArchivedWorkflow", "uid"); + } + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param namespace + * @param name + */ + public async archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceGetArchivedWorkflow", "uid"); + } + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + // Path Params + const localVarPath = '/api/v1/archived-workflows-label-keys'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows-label-values'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/archived-workflows'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (namePrefix !== undefined) { + requestContext.setQueryParam("namePrefix", ObjectSerializer.serialize(namePrefix, "string", "")); + } + + // Query Params + if (namespace !== undefined) { + requestContext.setQueryParam("namespace", ObjectSerializer.serialize(namespace, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param body + */ + public async archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceResubmitArchivedWorkflow", "uid"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceResubmitArchivedWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}/resubmit' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param uid + * @param body + */ + public async archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceRetryArchivedWorkflow", "uid"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ArchivedWorkflowServiceApi", "archivedWorkflowServiceRetryArchivedWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/archived-workflows/{uid}/retry' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ArchivedWorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceDeleteArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceDeleteArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceGetArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceGetArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflowLabelKeys + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelKeys(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1LabelKeys = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelKeys", "" + ) as IoArgoprojWorkflowV1alpha1LabelKeys; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1LabelKeys = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelKeys", "" + ) as IoArgoprojWorkflowV1alpha1LabelKeys; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflowLabelValues + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelValues(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1LabelValues = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelValues", "" + ) as IoArgoprojWorkflowV1alpha1LabelValues; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1LabelValues = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1LabelValues", "" + ) as IoArgoprojWorkflowV1alpha1LabelValues; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceListArchivedWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceListArchivedWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceResubmitArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceResubmitArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archivedWorkflowServiceRetryArchivedWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async archivedWorkflowServiceRetryArchivedWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/ArtifactServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/ArtifactServiceApi.ts new file mode 100644 index 0000000..2a36f4a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/ArtifactServiceApi.ts @@ -0,0 +1,492 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; + +/** + * no description + */ +export class ArtifactServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * 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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "namespace"); + } + + + // verify required parameter 'idDiscriminator' is not null or undefined + if (idDiscriminator === null || idDiscriminator === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "idDiscriminator"); + } + + + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "id"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "artifactName"); + } + + + // verify required parameter 'artifactDiscriminator' is not null or undefined + if (artifactDiscriminator === null || artifactDiscriminator === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetArtifactFile", "artifactDiscriminator"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "name"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifact", "artifactName"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "uid"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetInputArtifactByUID", "artifactName"); + } + + + // Path Params + const localVarPath = '/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "name"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifact", "artifactName"); + } + + + // Path Params + const localVarPath = '/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))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "uid"); + } + + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "nodeId"); + } + + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new RequiredError("ArtifactServiceApi", "artifactServiceGetOutputArtifactByUID", "artifactName"); + } + + + // Path Params + const localVarPath = '/artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ArtifactServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetArtifactFile + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetArtifactFile(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetInputArtifact + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetInputArtifact(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetInputArtifactByUID + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetInputArtifactByUID(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetOutputArtifact + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetOutputArtifact(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to artifactServiceGetOutputArtifactByUID + * @throws ApiException if the response code was not in [200, 299] + */ + public async artifactServiceGetOutputArtifactByUID(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: HttpFile = await response.getBodyAsFile() as any as HttpFile; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "binary" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "HttpFile", "binary" + ) as HttpFile; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/ClusterWorkflowTemplateServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/ClusterWorkflowTemplateServiceApi.ts new file mode 100644 index 0000000..b67fdff --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/ClusterWorkflowTemplateServiceApi.ts @@ -0,0 +1,601 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; + +/** + * no description + */ +export class ClusterWorkflowTemplateServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param body + */ + public async clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceGetClusterWorkflowTemplate", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param body + */ + public async clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceLintClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/lint'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ClusterWorkflowTemplateServiceApi", "clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ClusterWorkflowTemplateServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceGetClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceLintClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceListClusterWorkflowTemplates + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceListClusterWorkflowTemplates(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/CronWorkflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/CronWorkflowServiceApi.ts new file mode 100644 index 0000000..b5269d5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/CronWorkflowServiceApi.ts @@ -0,0 +1,847 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; + +/** + * no description + */ +export class CronWorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceCreateCronWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceCreateCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceDeleteCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceDeleteCronWorkflow", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceGetCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceGetCronWorkflow", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceLintCronWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceLintCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceListCronWorkflows", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceResumeCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceSuspendCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CronWorkflowServiceApi", "cronWorkflowServiceUpdateCronWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class CronWorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceCreateCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceCreateCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceDeleteCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceDeleteCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceGetCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceGetCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceLintCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceLintCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceListCronWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceListCronWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceResumeCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceResumeCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceSuspendCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceSuspendCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cronWorkflowServiceUpdateCronWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async cronWorkflowServiceUpdateCronWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1CronWorkflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1CronWorkflow", "" + ) as IoArgoprojWorkflowV1alpha1CronWorkflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/EventServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/EventServiceApi.ts new file mode 100644 index 0000000..338b6c1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/EventServiceApi.ts @@ -0,0 +1,256 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; + +/** + * no description + */ +export class EventServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceListWorkflowEventBindings", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-event-bindings/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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: any, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "namespace"); + } + + + // verify required parameter 'discriminator' is not null or undefined + if (discriminator === null || discriminator === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "discriminator"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventServiceApi", "eventServiceReceiveEvent", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/events/{namespace}/{discriminator}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'discriminator' + '}', encodeURIComponent(String(discriminator))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class EventServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventServiceListWorkflowEventBindings + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventServiceListWorkflowEventBindings(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventServiceReceiveEvent + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventServiceReceiveEvent(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/EventSourceServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/EventSourceServiceApi.ts new file mode 100644 index 0000000..e6b8183 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/EventSourceServiceApi.ts @@ -0,0 +1,858 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; + +/** + * no description + */ +export class EventSourceServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceCreateEventSource", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceCreateEventSource", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "EventsourceCreateEventSourceRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceDeleteEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceDeleteEventSource", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceEventSourcesLogs", "namespace"); + } + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/event-sources/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + // Query Params + if (eventSourceType !== undefined) { + requestContext.setQueryParam("eventSourceType", ObjectSerializer.serialize(eventSourceType, "string", "")); + } + + // Query Params + if (eventName !== undefined) { + requestContext.setQueryParam("eventName", ObjectSerializer.serialize(eventName, "string", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (podLogOptionsContainer !== undefined) { + requestContext.setQueryParam("podLogOptions.container", ObjectSerializer.serialize(podLogOptionsContainer, "string", "")); + } + + // Query Params + if (podLogOptionsFollow !== undefined) { + requestContext.setQueryParam("podLogOptions.follow", ObjectSerializer.serialize(podLogOptionsFollow, "boolean", "")); + } + + // Query Params + if (podLogOptionsPrevious !== undefined) { + requestContext.setQueryParam("podLogOptions.previous", ObjectSerializer.serialize(podLogOptionsPrevious, "boolean", "")); + } + + // Query Params + if (podLogOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceSeconds", ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.seconds", ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.nanos", ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (podLogOptionsTimestamps !== undefined) { + requestContext.setQueryParam("podLogOptions.timestamps", ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (podLogOptionsTailLines !== undefined) { + requestContext.setQueryParam("podLogOptions.tailLines", ObjectSerializer.serialize(podLogOptionsTailLines, "string", "int64")); + } + + // Query Params + if (podLogOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("podLogOptions.limitBytes", ObjectSerializer.serialize(podLogOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("podLogOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + */ + public async eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceGetEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceGetEventSource", "name"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceListEventSources", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceUpdateEventSource", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "EventsourceUpdateEventSourceRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("EventSourceServiceApi", "eventSourceServiceWatchEventSources", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class EventSourceServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceCreateEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceCreateEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceDeleteEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceDeleteEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceEventSourcesLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceEventSourcesLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfEventsourceLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceLogEntry", "" + ) as StreamResultOfEventsourceLogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfEventsourceLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceLogEntry", "" + ) as StreamResultOfEventsourceLogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceGetEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceGetEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceListEventSources + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceListEventSources(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSourceList", "" + ) as IoArgoprojEventsV1alpha1EventSourceList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSourceList", "" + ) as IoArgoprojEventsV1alpha1EventSourceList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceUpdateEventSource + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceUpdateEventSource(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1EventSource = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1EventSource", "" + ) as IoArgoprojEventsV1alpha1EventSource; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to eventSourceServiceWatchEventSources + * @throws ApiException if the response code was not in [200, 299] + */ + public async eventSourceServiceWatchEventSources(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfEventsourceEventSourceWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceEventSourceWatchEvent", "" + ) as StreamResultOfEventsourceEventSourceWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfEventsourceEventSourceWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfEventsourceEventSourceWatchEvent", "" + ) as StreamResultOfEventsourceEventSourceWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/InfoServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/InfoServiceApi.ts new file mode 100644 index 0000000..f9db252 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/InfoServiceApi.ts @@ -0,0 +1,300 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; + +/** + * no description + */ +export class InfoServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param body + */ + public async infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("InfoServiceApi", "infoServiceCollectEvent", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/tracking/event'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CollectEventRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetInfo(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/info'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetUserInfo(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/userinfo'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + */ + public async infoServiceGetVersion(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/api/v1/version'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class InfoServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceCollectEvent + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceCollectEvent(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetInfo + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetInfo(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1InfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1InfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1InfoResponse; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1InfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1InfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1InfoResponse; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetUserInfo + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetUserInfo(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1GetUserInfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1GetUserInfoResponse; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1GetUserInfoResponse", "" + ) as IoArgoprojWorkflowV1alpha1GetUserInfoResponse; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to infoServiceGetVersion + * @throws ApiException if the response code was not in [200, 299] + */ + public async infoServiceGetVersion(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Version = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Version", "" + ) as IoArgoprojWorkflowV1alpha1Version; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Version = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Version", "" + ) as IoArgoprojWorkflowV1alpha1Version; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/SensorServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/SensorServiceApi.ts new file mode 100644 index 0000000..aeb92e4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/SensorServiceApi.ts @@ -0,0 +1,858 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +/** + * no description + */ +export class SensorServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceCreateSensor", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceCreateSensor", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "SensorCreateSensorRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceDeleteSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceDeleteSensor", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceGetSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceGetSensor", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceListSensors", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceSensorsLogs", "namespace"); + } + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/sensors/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer.serialize(name, "string", "")); + } + + // Query Params + if (triggerName !== undefined) { + requestContext.setQueryParam("triggerName", ObjectSerializer.serialize(triggerName, "string", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (podLogOptionsContainer !== undefined) { + requestContext.setQueryParam("podLogOptions.container", ObjectSerializer.serialize(podLogOptionsContainer, "string", "")); + } + + // Query Params + if (podLogOptionsFollow !== undefined) { + requestContext.setQueryParam("podLogOptions.follow", ObjectSerializer.serialize(podLogOptionsFollow, "boolean", "")); + } + + // Query Params + if (podLogOptionsPrevious !== undefined) { + requestContext.setQueryParam("podLogOptions.previous", ObjectSerializer.serialize(podLogOptionsPrevious, "boolean", "")); + } + + // Query Params + if (podLogOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceSeconds", ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.seconds", ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (podLogOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("podLogOptions.sinceTime.nanos", ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (podLogOptionsTimestamps !== undefined) { + requestContext.setQueryParam("podLogOptions.timestamps", ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (podLogOptionsTailLines !== undefined) { + requestContext.setQueryParam("podLogOptions.tailLines", ObjectSerializer.serialize(podLogOptionsTailLines, "string", "int64")); + } + + // Query Params + if (podLogOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("podLogOptions.limitBytes", ObjectSerializer.serialize(podLogOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("podLogOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceUpdateSensor", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "SensorUpdateSensorRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("SensorServiceApi", "sensorServiceWatchSensors", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class SensorServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceCreateSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceCreateSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceDeleteSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceDeleteSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceGetSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceGetSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceListSensors + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceListSensors(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1SensorList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1SensorList", "" + ) as IoArgoprojEventsV1alpha1SensorList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1SensorList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1SensorList", "" + ) as IoArgoprojEventsV1alpha1SensorList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceSensorsLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceSensorsLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfSensorLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorLogEntry", "" + ) as StreamResultOfSensorLogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfSensorLogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorLogEntry", "" + ) as StreamResultOfSensorLogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceUpdateSensor + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceUpdateSensor(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojEventsV1alpha1Sensor = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojEventsV1alpha1Sensor", "" + ) as IoArgoprojEventsV1alpha1Sensor; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sensorServiceWatchSensors + * @throws ApiException if the response code was not in [200, 299] + */ + public async sensorServiceWatchSensors(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfSensorSensorWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorSensorWatchEvent", "" + ) as StreamResultOfSensorSensorWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfSensorSensorWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfSensorSensorWatchEvent", "" + ) as StreamResultOfSensorSensorWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/WorkflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/WorkflowServiceApi.ts new file mode 100644 index 0000000..56e34f3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/WorkflowServiceApi.ts @@ -0,0 +1,1979 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; + +/** + * no description + */ +export class WorkflowServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceCreateWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceCreateWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceDeleteWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceDeleteWorkflow", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceGetWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceGetWorkflow", "name"); + } + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceLintWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceLintWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceListWorkflows", "namespace"); + } + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * 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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "name"); + } + + + // verify required parameter 'podName' is not null or undefined + if (podName === null || podName === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServicePodLogs", "podName"); + } + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/{podName}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'podName' + '}', encodeURIComponent(String(podName))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (logOptionsContainer !== undefined) { + requestContext.setQueryParam("logOptions.container", ObjectSerializer.serialize(logOptionsContainer, "string", "")); + } + + // Query Params + if (logOptionsFollow !== undefined) { + requestContext.setQueryParam("logOptions.follow", ObjectSerializer.serialize(logOptionsFollow, "boolean", "")); + } + + // Query Params + if (logOptionsPrevious !== undefined) { + requestContext.setQueryParam("logOptions.previous", ObjectSerializer.serialize(logOptionsPrevious, "boolean", "")); + } + + // Query Params + if (logOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceSeconds", ObjectSerializer.serialize(logOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.seconds", ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.nanos", ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (logOptionsTimestamps !== undefined) { + requestContext.setQueryParam("logOptions.timestamps", ObjectSerializer.serialize(logOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (logOptionsTailLines !== undefined) { + requestContext.setQueryParam("logOptions.tailLines", ObjectSerializer.serialize(logOptionsTailLines, "string", "int64")); + } + + // Query Params + if (logOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("logOptions.limitBytes", ObjectSerializer.serialize(logOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("logOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (selector !== undefined) { + requestContext.setQueryParam("selector", ObjectSerializer.serialize(selector, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResubmitWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/resubmit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceResumeWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResumeRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceRetryWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/retry' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowRetryRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSetWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/set' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSetRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceStopWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/stop' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowStopRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSubmitWorkflow", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSubmitWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/submit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceSuspendWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name + * @param body + */ + public async workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceTerminateWorkflow", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/terminate' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWatchEvents", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/stream/events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWatchWorkflows", "namespace"); + } + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + // Query Params + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer.serialize(fields, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWorkflowLogs", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowServiceApi", "workflowServiceWorkflowLogs", "name"); + } + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflows/{namespace}/{name}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (podName !== undefined) { + requestContext.setQueryParam("podName", ObjectSerializer.serialize(podName, "string", "")); + } + + // Query Params + if (logOptionsContainer !== undefined) { + requestContext.setQueryParam("logOptions.container", ObjectSerializer.serialize(logOptionsContainer, "string", "")); + } + + // Query Params + if (logOptionsFollow !== undefined) { + requestContext.setQueryParam("logOptions.follow", ObjectSerializer.serialize(logOptionsFollow, "boolean", "")); + } + + // Query Params + if (logOptionsPrevious !== undefined) { + requestContext.setQueryParam("logOptions.previous", ObjectSerializer.serialize(logOptionsPrevious, "boolean", "")); + } + + // Query Params + if (logOptionsSinceSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceSeconds", ObjectSerializer.serialize(logOptionsSinceSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeSeconds !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.seconds", ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string", "int64")); + } + + // Query Params + if (logOptionsSinceTimeNanos !== undefined) { + requestContext.setQueryParam("logOptions.sinceTime.nanos", ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number", "int32")); + } + + // Query Params + if (logOptionsTimestamps !== undefined) { + requestContext.setQueryParam("logOptions.timestamps", ObjectSerializer.serialize(logOptionsTimestamps, "boolean", "")); + } + + // Query Params + if (logOptionsTailLines !== undefined) { + requestContext.setQueryParam("logOptions.tailLines", ObjectSerializer.serialize(logOptionsTailLines, "string", "int64")); + } + + // Query Params + if (logOptionsLimitBytes !== undefined) { + requestContext.setQueryParam("logOptions.limitBytes", ObjectSerializer.serialize(logOptionsLimitBytes, "string", "int64")); + } + + // Query Params + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + requestContext.setQueryParam("logOptions.insecureSkipTLSVerifyBackend", ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean", "")); + } + + // Query Params + if (grep !== undefined) { + requestContext.setQueryParam("grep", ObjectSerializer.serialize(grep, "string", "")); + } + + // Query Params + if (selector !== undefined) { + requestContext.setQueryParam("selector", ObjectSerializer.serialize(selector, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class WorkflowServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceCreateWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceCreateWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceDeleteWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceDeleteWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceGetWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceGetWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceLintWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceLintWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceListWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceListWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServicePodLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServicePodLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceResubmitWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceResubmitWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceResumeWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceResumeWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceRetryWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceRetryWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSetWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSetWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceStopWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceStopWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSubmitWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSubmitWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceSuspendWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceSuspendWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceTerminateWorkflow + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceTerminateWorkflow(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1Workflow = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1Workflow", "" + ) as IoArgoprojWorkflowV1alpha1Workflow; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWatchEvents + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWatchEvents(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoK8sApiCoreV1Event = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoK8sApiCoreV1Event", "" + ) as StreamResultOfIoK8sApiCoreV1Event; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoK8sApiCoreV1Event = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoK8sApiCoreV1Event", "" + ) as StreamResultOfIoK8sApiCoreV1Event; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWatchWorkflows + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWatchWorkflows(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowServiceWorkflowLogs + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowServiceWorkflowLogs(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry", "" + ) as StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/WorkflowTemplateServiceApi.ts b/plugins/argo-workflows/src/api/generated/apis/WorkflowTemplateServiceApi.ts new file mode 100644 index 0000000..da16c53 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/WorkflowTemplateServiceApi.ts @@ -0,0 +1,649 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; + +/** + * no description + */ +export class WorkflowTemplateServiceApiRequestFactory extends BaseAPIRequestFactory { + + /** + * @param namespace + * @param body + */ + public async workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceCreateWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceCreateWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceDeleteWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceDeleteWorkflowTemplate", "name"); + } + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (deleteOptionsGracePeriodSeconds !== undefined) { + requestContext.setQueryParam("deleteOptions.gracePeriodSeconds", ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string", "int64")); + } + + // Query Params + if (deleteOptionsPreconditionsUid !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.uid", ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string", "")); + } + + // Query Params + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + requestContext.setQueryParam("deleteOptions.preconditions.resourceVersion", ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string", "")); + } + + // Query Params + if (deleteOptionsOrphanDependents !== undefined) { + requestContext.setQueryParam("deleteOptions.orphanDependents", ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean", "")); + } + + // Query Params + if (deleteOptionsPropagationPolicy !== undefined) { + requestContext.setQueryParam("deleteOptions.propagationPolicy", ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string", "")); + } + + // Query Params + if (deleteOptionsDryRun !== undefined) { + requestContext.setQueryParam("deleteOptions.dryRun", ObjectSerializer.serialize(deleteOptionsDryRun, "Array", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceGetWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceGetWorkflowTemplate", "name"); + } + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (getOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("getOptions.resourceVersion", ObjectSerializer.serialize(getOptionsResourceVersion, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param body + */ + public async workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceLintWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceLintWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @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?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceListWorkflowTemplates", "namespace"); + } + + + + + + + + + + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (listOptionsLabelSelector !== undefined) { + requestContext.setQueryParam("listOptions.labelSelector", ObjectSerializer.serialize(listOptionsLabelSelector, "string", "")); + } + + // Query Params + if (listOptionsFieldSelector !== undefined) { + requestContext.setQueryParam("listOptions.fieldSelector", ObjectSerializer.serialize(listOptionsFieldSelector, "string", "")); + } + + // Query Params + if (listOptionsWatch !== undefined) { + requestContext.setQueryParam("listOptions.watch", ObjectSerializer.serialize(listOptionsWatch, "boolean", "")); + } + + // Query Params + if (listOptionsAllowWatchBookmarks !== undefined) { + requestContext.setQueryParam("listOptions.allowWatchBookmarks", ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (listOptionsResourceVersion !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersion", ObjectSerializer.serialize(listOptionsResourceVersion, "string", "")); + } + + // Query Params + if (listOptionsResourceVersionMatch !== undefined) { + requestContext.setQueryParam("listOptions.resourceVersionMatch", ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string", "")); + } + + // Query Params + if (listOptionsTimeoutSeconds !== undefined) { + requestContext.setQueryParam("listOptions.timeoutSeconds", ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string", "int64")); + } + + // Query Params + if (listOptionsLimit !== undefined) { + requestContext.setQueryParam("listOptions.limit", ObjectSerializer.serialize(listOptionsLimit, "string", "int64")); + } + + // Query Params + if (listOptionsContinue !== undefined) { + requestContext.setQueryParam("listOptions.continue", ObjectSerializer.serialize(listOptionsContinue, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "namespace"); + } + + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("WorkflowTemplateServiceApi", "workflowTemplateServiceUpdateWorkflowTemplate", "body"); + } + + + // Path Params + const localVarPath = '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class WorkflowTemplateServiceApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceCreateWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceCreateWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceDeleteWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceDeleteWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: any = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "any", "" + ) as any; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceGetWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceGetWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceLintWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceLintWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceListWorkflowTemplates + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceListWorkflowTemplates(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplateList; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplateList", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplateList; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to workflowTemplateServiceUpdateWorkflowTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async workflowTemplateServiceUpdateWorkflowTemplate(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + if (isCodeInRange("0", response.httpStatusCode)) { + const body: GrpcGatewayRuntimeError = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "GrpcGatewayRuntimeError", "" + ) as GrpcGatewayRuntimeError; + throw new ApiException(response.httpStatusCode, "An unexpected error response.", body, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: IoArgoprojWorkflowV1alpha1WorkflowTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "IoArgoprojWorkflowV1alpha1WorkflowTemplate", "" + ) as IoArgoprojWorkflowV1alpha1WorkflowTemplate; + return body; + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/apis/baseapi.ts b/plugins/argo-workflows/src/api/generated/apis/baseapi.ts new file mode 100644 index 0000000..ce1e2db --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/baseapi.ts @@ -0,0 +1,37 @@ +import { Configuration } from '../configuration' + +/** + * + * @export + */ +export const COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; + + +/** + * + * @export + * @class BaseAPI + */ +export class BaseAPIRequestFactory { + + constructor(protected configuration: Configuration) { + } +}; + +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +export class RequiredError extends Error { + name: "RequiredError" = "RequiredError"; + constructor(public api: string, public method: string, public field: string) { + super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); + } +} diff --git a/plugins/argo-workflows/src/api/generated/apis/exception.ts b/plugins/argo-workflows/src/api/generated/apis/exception.ts new file mode 100644 index 0000000..9365d33 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/apis/exception.ts @@ -0,0 +1,15 @@ +/** + * Represents an error caused by an api call i.e. it has attributes for a HTTP status code + * and the returned body object. + * + * Example + * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] + * => ApiException(404, someErrorMessageObject) + * + */ +export class ApiException extends Error { + public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { + super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + + JSON.stringify(headers)) + } +} diff --git a/plugins/argo-workflows/src/api/generated/auth/auth.ts b/plugins/argo-workflows/src/api/generated/auth/auth.ts new file mode 100644 index 0000000..872e684 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/auth/auth.ts @@ -0,0 +1,79 @@ +import { RequestContext } from "../http/http"; + +/** + * Interface authentication schemes. + */ +export interface SecurityAuthentication { + /* + * @return returns the name of the security authentication as specified in OAI + */ + getName(): string; + + /** + * Applies the authentication scheme to the request context + * + * @params context the request context which should use this authentication scheme + */ + applySecurityAuthentication(context: RequestContext): void | Promise; +} + +export interface TokenProvider { + getToken(): Promise | string; +} + +/** + * Applies apiKey authentication to the request context. + */ +export class BearerTokenAuthentication implements SecurityAuthentication { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + public constructor(private apiKey: string) {} + + public getName(): string { + return "BearerToken"; + } + + public applySecurityAuthentication(context: RequestContext) { + context.setHeaderParam("Authorization", this.apiKey); + } +} + + +export type AuthMethods = { + "default"?: SecurityAuthentication, + "BearerToken"?: SecurityAuthentication +} + +export type ApiKeyConfiguration = string; +export type HttpBasicConfiguration = { "username": string, "password": string }; +export type HttpBearerConfiguration = { tokenProvider: TokenProvider }; +export type OAuth2Configuration = { accessToken: string }; + +export type AuthMethodsConfiguration = { + "default"?: SecurityAuthentication, + "BearerToken"?: ApiKeyConfiguration +} + +/** + * Creates the authentication methods from a swagger description. + * + */ +export function configureAuthMethods(config: AuthMethodsConfiguration | undefined): AuthMethods { + let authMethods: AuthMethods = {} + + if (!config) { + return authMethods; + } + authMethods["default"] = config["default"] + + if (config["BearerToken"]) { + authMethods["BearerToken"] = new BearerTokenAuthentication( + config["BearerToken"] + ); + } + + return authMethods; +} \ No newline at end of file diff --git a/plugins/argo-workflows/src/api/generated/configuration.ts b/plugins/argo-workflows/src/api/generated/configuration.ts new file mode 100644 index 0000000..7acb56e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/configuration.ts @@ -0,0 +1,82 @@ +import { HttpLibrary } from "./http/http"; +import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware"; +import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch"; +import { BaseServerConfiguration, server1 } from "./servers"; +import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth"; + +export interface Configuration { + readonly baseServer: BaseServerConfiguration; + readonly httpApi: HttpLibrary; + readonly middleware: Middleware[]; + readonly authMethods: AuthMethods; +} + + +/** + * Interface with which a configuration object can be configured. + */ +export interface ConfigurationParameters { + /** + * Default server to use - a list of available servers (according to the + * OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also + * create your own server with the `ServerConfiguration` class from the same + * file. + */ + baseServer?: BaseServerConfiguration; + /** + * HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as + * all generators come with a default library. + * If available, additional libraries can be imported from `./http/*` + */ + httpApi?: HttpLibrary; + + /** + * The middlewares which will be applied to requests and responses. You can + * add any number of middleware components to modify requests before they + * are sent or before they are deserialized by implementing the `Middleware` + * interface defined in `./middleware` + */ + middleware?: Middleware[]; + /** + * Configures middleware functions that return promises instead of + * Observables (which are used by `middleware`). Otherwise allows for the + * same functionality as `middleware`, i.e., modifying requests before they + * are sent and before they are deserialized. + */ + promiseMiddleware?: PromiseMiddleware[]; + /** + * Configuration for the available authentication methods (e.g., api keys) + * according to the OpenAPI yaml definition. For the definition, please refer to + * `./auth/auth` + */ + authMethods?: AuthMethodsConfiguration +} + +/** + * Provide your `ConfigurationParameters` to this function to get a `Configuration` + * object that can be used to configure your APIs (in the constructor or + * for each request individually). + * + * If a property is not included in conf, a default is used: + * - baseServer: server1 + * - httpApi: IsomorphicFetchHttpLibrary + * - middleware: [] + * - promiseMiddleware: [] + * - authMethods: {} + * + * @param conf partial configuration + */ +export function createConfiguration(conf: ConfigurationParameters = {}): Configuration { + const configuration: Configuration = { + baseServer: conf.baseServer !== undefined ? conf.baseServer : server1, + httpApi: conf.httpApi || new DefaultHttpLibrary(), + middleware: conf.middleware || [], + authMethods: configureAuthMethods(conf.authMethods) + }; + if (conf.promiseMiddleware) { + conf.promiseMiddleware.forEach( + m => configuration.middleware.push(new PromiseMiddlewareWrapper(m)) + ); + } + return configuration; +} \ No newline at end of file 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..b253029 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/git_push.sh @@ -0,0 +1,51 @@ +#!/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" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +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://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@github.com/${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://github.com/${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/http/http.ts b/plugins/argo-workflows/src/api/generated/http/http.ts new file mode 100644 index 0000000..5ec4785 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/http/http.ts @@ -0,0 +1,232 @@ +import { Observable, from } from '../rxjsStub'; + +export * from './isomorphic-fetch'; + +/** + * Represents an HTTP method. + */ +export enum HttpMethod { + GET = "GET", + HEAD = "HEAD", + POST = "POST", + PUT = "PUT", + DELETE = "DELETE", + CONNECT = "CONNECT", + OPTIONS = "OPTIONS", + TRACE = "TRACE", + PATCH = "PATCH" +} + +/** + * Represents an HTTP file which will be transferred from or to a server. + */ +export type HttpFile = Blob & { readonly name: string }; + +export class HttpException extends Error { + public constructor(msg: string) { + super(msg); + } +} + +/** + * Represents the body of an outgoing HTTP request. + */ +export type RequestBody = undefined | string | FormData | URLSearchParams; + +/** + * Represents an HTTP request context + */ +export class RequestContext { + private headers: { [key: string]: string } = {}; + private body: RequestBody = undefined; + private url: URL; + + /** + * Creates the request context using a http method and request resource url + * + * @param url url of the requested resource + * @param httpMethod http method + */ + public constructor(url: string, private httpMethod: HttpMethod) { + this.url = new URL(url); + } + + /* + * Returns the url set in the constructor including the query string + * + */ + public getUrl(): string { + return this.url.toString().endsWith("/") ? + this.url.toString().slice(0, -1) + : this.url.toString(); + } + + /** + * Replaces the url set in the constructor with this url. + * + */ + public setUrl(url: string) { + this.url = new URL(url); + } + + /** + * Sets the body of the http request either as a string or FormData + * + * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE + * request is discouraged. + * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1 + * + * @param body the body of the request + */ + public setBody(body: RequestBody) { + this.body = body; + } + + public getHttpMethod(): HttpMethod { + return this.httpMethod; + } + + public getHeaders(): { [key: string]: string } { + return this.headers; + } + + public getBody(): RequestBody { + return this.body; + } + + public setQueryParam(name: string, value: string) { + this.url.searchParams.set(name, value); + } + + /** + * Sets a cookie with the name and value. NO check for duplicate cookies is performed + * + */ + public addCookie(name: string, value: string): void { + if (!this.headers["Cookie"]) { + this.headers["Cookie"] = ""; + } + this.headers["Cookie"] += name + "=" + value + "; "; + } + + public setHeaderParam(key: string, value: string): void { + this.headers[key] = value; + } +} + +export interface ResponseBody { + text(): Promise; + binary(): Promise; +} + +/** + * Helper class to generate a `ResponseBody` from binary data + */ +export class SelfDecodingBody implements ResponseBody { + constructor(private dataSource: Promise) {} + + binary(): Promise { + return this.dataSource; + } + + async text(): Promise { + const data: Blob = await this.dataSource; + // @ts-ignore + if (data.text) { + // @ts-ignore + return data.text(); + } + + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.addEventListener("load", () => resolve(reader.result as string)); + reader.addEventListener("error", () => reject(reader.error)); + reader.readAsText(data); + }); + } +} + +export class ResponseContext { + public constructor( + public httpStatusCode: number, + public headers: { [key: string]: string }, + public body: ResponseBody + ) {} + + /** + * Parse header value in the form `value; param1="value1"` + * + * E.g. for Content-Type or Content-Disposition + * Parameter names are converted to lower case + * The first parameter is returned with the key `""` + */ + public getParsedHeader(headerName: string): { [parameter: string]: string } { + const result: { [parameter: string]: string } = {}; + if (!this.headers[headerName]) { + return result; + } + + const parameters = this.headers[headerName].split(";"); + for (const parameter of parameters) { + let [key, value] = parameter.split("=", 2); + key = key.toLowerCase().trim(); + if (value === undefined) { + result[""] = key; + } else { + value = value.trim(); + if (value.startsWith('"') && value.endsWith('"')) { + value = value.substring(1, value.length - 1); + } + result[key] = value; + } + } + return result; + } + + public async getBodyAsFile(): Promise { + const data = await this.body.binary(); + const fileName = this.getParsedHeader("content-disposition")["filename"] || ""; + const contentType = this.headers["content-type"] || ""; + try { + return new File([data], fileName, { type: contentType }); + } catch (error) { + /** Fallback for when the File constructor is not available */ + return Object.assign(data, { + name: fileName, + type: contentType + }); + } + } + + /** + * Use a heuristic to get a body of unknown data structure. + * Return as string if possible, otherwise as binary. + */ + public getBodyAsAny(): Promise { + try { + return this.body.text(); + } catch {} + + try { + return this.body.binary(); + } catch {} + + return Promise.resolve(undefined); + } +} + +export interface HttpLibrary { + send(request: RequestContext): Observable; +} + +export interface PromiseHttpLibrary { + send(request: RequestContext): Promise; +} + +export function wrapHttpLibrary(promiseHttpLibrary: PromiseHttpLibrary): HttpLibrary { + return { + send(request: RequestContext): Observable { + return from(promiseHttpLibrary.send(request)); + } + } +} diff --git a/plugins/argo-workflows/src/api/generated/http/isomorphic-fetch.ts b/plugins/argo-workflows/src/api/generated/http/isomorphic-fetch.ts new file mode 100644 index 0000000..3af85f3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/http/isomorphic-fetch.ts @@ -0,0 +1,32 @@ +import {HttpLibrary, RequestContext, ResponseContext} from './http'; +import { from, Observable } from '../rxjsStub'; +import "whatwg-fetch"; + +export class IsomorphicFetchHttpLibrary implements HttpLibrary { + + public send(request: RequestContext): Observable { + let method = request.getHttpMethod().toString(); + let body = request.getBody(); + + const resultPromise = fetch(request.getUrl(), { + method: method, + body: body as any, + headers: request.getHeaders(), + credentials: "same-origin" + }).then((resp: any) => { + const headers: { [name: string]: string } = {}; + resp.headers.forEach((value: string, name: string) => { + headers[name] = value; + }); + + const body = { + text: () => resp.text(), + binary: () => resp.blob() + }; + return new ResponseContext(resp.status, headers, body); + }); + + return from>(resultPromise); + + } +} diff --git a/plugins/argo-workflows/src/api/generated/index.ts b/plugins/argo-workflows/src/api/generated/index.ts new file mode 100644 index 0000000..f5c2ab1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/index.ts @@ -0,0 +1,12 @@ +export * from "./http/http"; +export * from "./auth/auth"; +export * from "./models/all"; +export { createConfiguration } from "./configuration" +export { Configuration } from "./configuration" +export * from "./apis/exception"; +export * from "./servers"; +export { RequiredError } from "./apis/baseapi"; + +export { PromiseMiddleware as Middleware } from './middleware'; +export { PromiseArchivedWorkflowServiceApi as ArchivedWorkflowServiceApi, PromiseArtifactServiceApi as ArtifactServiceApi, PromiseClusterWorkflowTemplateServiceApi as ClusterWorkflowTemplateServiceApi, PromiseCronWorkflowServiceApi as CronWorkflowServiceApi, PromiseEventServiceApi as EventServiceApi, PromiseEventSourceServiceApi as EventSourceServiceApi, PromiseInfoServiceApi as InfoServiceApi, PromiseSensorServiceApi as SensorServiceApi, PromiseWorkflowServiceApi as WorkflowServiceApi, PromiseWorkflowTemplateServiceApi as WorkflowTemplateServiceApi } from './types/PromiseAPI'; + diff --git a/plugins/argo-workflows/src/api/generated/middleware.ts b/plugins/argo-workflows/src/api/generated/middleware.ts new file mode 100644 index 0000000..524f93f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/middleware.ts @@ -0,0 +1,66 @@ +import {RequestContext, ResponseContext} from './http/http'; +import { Observable, from } from './rxjsStub'; + +/** + * Defines the contract for a middleware intercepting requests before + * they are sent (but after the RequestContext was created) + * and before the ResponseContext is unwrapped. + * + */ +export interface Middleware { + /** + * Modifies the request before the request is sent. + * + * @param context RequestContext of a request which is about to be sent to the server + * @returns an observable of the updated request context + * + */ + pre(context: RequestContext): Observable; + /** + * Modifies the returned response before it is deserialized. + * + * @param context ResponseContext of a sent request + * @returns an observable of the modified response context + */ + post(context: ResponseContext): Observable; +} + +export class PromiseMiddlewareWrapper implements Middleware { + + public constructor(private middleware: PromiseMiddleware) { + + } + + pre(context: RequestContext): Observable { + return from(this.middleware.pre(context)); + } + + post(context: ResponseContext): Observable { + return from(this.middleware.post(context)); + } + +} + +/** + * Defines the contract for a middleware intercepting requests before + * they are sent (but after the RequestContext was created) + * and before the ResponseContext is unwrapped. + * + */ +export interface PromiseMiddleware { + /** + * Modifies the request before the request is sent. + * + * @param context RequestContext of a request which is about to be sent to the server + * @returns an observable of the updated request context + * + */ + pre(context: RequestContext): Promise; + /** + * Modifies the returned response before it is deserialized. + * + * @param context ResponseContext of a sent request + * @returns an observable of the modified response context + */ + post(context: ResponseContext): Promise; +} diff --git a/plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts b/plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts new file mode 100644 index 0000000..221120c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceCreateEventSourceRequest { + 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventSource", + "baseName": "eventSource", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/EventsourceEventSourceWatchEvent.ts new file mode 100644 index 0000000..e19e495 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/EventsourceEventSourceWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceEventSourceWatchEvent { + 'object'?: IoArgoprojEventsV1alpha1EventSource; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/EventsourceLogEntry.ts new file mode 100644 index 0000000..1d372a8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/EventsourceLogEntry.ts @@ -0,0 +1,80 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class EventsourceLogEntry { + 'eventName'?: string; + 'eventSourceName'?: string; + 'eventSourceType'?: string; + 'level'?: string; + 'msg'?: string; + 'namespace'?: string; + /** + * 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. + */ + 'time'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventName", + "baseName": "eventName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceName", + "baseName": "eventSourceName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceType", + "baseName": "eventSourceType", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "msg", + "baseName": "msg", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + } ]; + + 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/models/EventsourceUpdateEventSourceRequest.ts new file mode 100644 index 0000000..b23fd31 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/EventsourceUpdateEventSourceRequest.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { HttpFile } from '../http/http'; + +export class EventsourceUpdateEventSourceRequest { + 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventSource", + "baseName": "eventSource", + "type": "IoArgoprojEventsV1alpha1EventSource", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/GoogleProtobufAny.ts new file mode 100644 index 0000000..d083809 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/GoogleProtobufAny.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class GoogleProtobufAny { + 'typeUrl'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "typeUrl", + "baseName": "type_url", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + 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/models/GrpcGatewayRuntimeError.ts new file mode 100644 index 0000000..ddb189a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeError.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { HttpFile } from '../http/http'; + +export class GrpcGatewayRuntimeError { + 'code'?: number; + 'details'?: Array; + 'error'?: string; + 'message'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "code", + "baseName": "code", + "type": "number", + "format": "" + }, + { + "name": "details", + "baseName": "details", + "type": "Array", + "format": "" + }, + { + "name": "error", + "baseName": "error", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + } ]; + + 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/models/GrpcGatewayRuntimeStreamError.ts new file mode 100644 index 0000000..a97e332 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeStreamError.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { HttpFile } from '../http/http'; + +export class GrpcGatewayRuntimeStreamError { + 'details'?: Array; + 'grpcCode'?: number; + 'httpCode'?: number; + 'httpStatus'?: string; + 'message'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "details", + "baseName": "details", + "type": "Array", + "format": "" + }, + { + "name": "grpcCode", + "baseName": "grpc_code", + "type": "number", + "format": "" + }, + { + "name": "httpCode", + "baseName": "http_code", + "type": "number", + "format": "" + }, + { + "name": "httpStatus", + "baseName": "http_status", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts new file mode 100644 index 0000000..e88f9d7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPConsumeConfig { + 'autoAck'?: boolean; + 'consumerTag'?: string; + 'exclusive'?: boolean; + 'noLocal'?: boolean; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "autoAck", + "baseName": "autoAck", + "type": "boolean", + "format": "" + }, + { + "name": "consumerTag", + "baseName": "consumerTag", + "type": "string", + "format": "" + }, + { + "name": "exclusive", + "baseName": "exclusive", + "type": "boolean", + "format": "" + }, + { + "name": "noLocal", + "baseName": "noLocal", + "type": "boolean", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts new file mode 100644 index 0000000..c2613ed --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1AMQPEventSource { + 'auth'?: IoArgoprojEventsV1alpha1BasicAuth; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'consume'?: IoArgoprojEventsV1alpha1AMQPConsumeConfig; + 'exchangeDeclare'?: IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig; + 'exchangeName'?: string; + 'exchangeType'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'queueBind'?: IoArgoprojEventsV1alpha1AMQPQueueBindConfig; + 'queueDeclare'?: IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig; + 'routingKey'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'url'?: string; + 'urlSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "consume", + "baseName": "consume", + "type": "IoArgoprojEventsV1alpha1AMQPConsumeConfig", + "format": "" + }, + { + "name": "exchangeDeclare", + "baseName": "exchangeDeclare", + "type": "IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig", + "format": "" + }, + { + "name": "exchangeName", + "baseName": "exchangeName", + "type": "string", + "format": "" + }, + { + "name": "exchangeType", + "baseName": "exchangeType", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "queueBind", + "baseName": "queueBind", + "type": "IoArgoprojEventsV1alpha1AMQPQueueBindConfig", + "format": "" + }, + { + "name": "queueDeclare", + "baseName": "queueDeclare", + "type": "IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig", + "format": "" + }, + { + "name": "routingKey", + "baseName": "routingKey", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "urlSecret", + "baseName": "urlSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts new file mode 100644 index 0000000..eb145cd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig { + 'autoDelete'?: boolean; + 'durable'?: boolean; + 'internal'?: boolean; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "autoDelete", + "baseName": "autoDelete", + "type": "boolean", + "format": "" + }, + { + "name": "durable", + "baseName": "durable", + "type": "boolean", + "format": "" + }, + { + "name": "internal", + "baseName": "internal", + "type": "boolean", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts new file mode 100644 index 0000000..dcca6fe --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPQueueBindConfig { + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts new file mode 100644 index 0000000..6455681 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig { + 'arguments'?: string; + 'autoDelete'?: boolean; + 'durable'?: boolean; + 'exclusive'?: boolean; + 'name'?: string; + 'noWait'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "string", + "format": "" + }, + { + "name": "autoDelete", + "baseName": "autoDelete", + "type": "boolean", + "format": "" + }, + { + "name": "durable", + "baseName": "durable", + "type": "boolean", + "format": "" + }, + { + "name": "exclusive", + "baseName": "exclusive", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "noWait", + "baseName": "noWait", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts new file mode 100644 index 0000000..b2c8dab --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AWSLambdaTrigger { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + /** + * FunctionName refers to the name of the function to invoke. + */ + 'functionName'?: string; + /** + * Choose from the following options. * RequestResponse (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. * Event - Invoke the function asynchronously. Send events that fail multiple times to the function\'s dead-letter queue (if it\'s configured). The API response only includes a status code. * DryRun - Validate parameter values and verify that the user or role has permission to invoke the function. +optional + */ + 'invocationType'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "functionName", + "baseName": "functionName", + "type": "string", + "format": "" + }, + { + "name": "invocationType", + "baseName": "invocationType", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Amount.ts new file mode 100644 index 0000000..ffda3a2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Amount.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Amount represent a numeric amount. +*/ +export class IoArgoprojEventsV1alpha1Amount { + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts new file mode 100644 index 0000000..ba6f337 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ArgoWorkflowTrigger { + 'args'?: Array; + 'operation'?: string; + 'parameters'?: Array; + 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojEventsV1alpha1ArtifactLocation", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts new file mode 100644 index 0000000..38232d1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts @@ -0,0 +1,83 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1ArtifactLocation { + 'configmap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'file'?: IoArgoprojEventsV1alpha1FileArtifact; + 'git'?: IoArgoprojEventsV1alpha1GitArtifact; + 'inline'?: string; + 'resource'?: IoArgoprojEventsV1alpha1Resource; + 's3'?: IoArgoprojEventsV1alpha1S3Artifact; + 'url'?: IoArgoprojEventsV1alpha1URLArtifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configmap", + "baseName": "configmap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "file", + "baseName": "file", + "type": "IoArgoprojEventsV1alpha1FileArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojEventsV1alpha1GitArtifact", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "IoArgoprojEventsV1alpha1Resource", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojEventsV1alpha1S3Artifact", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "IoArgoprojEventsV1alpha1URLArtifact", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts new file mode 100644 index 0000000..f0307fa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AzureEventHubsTrigger { + 'fqdn'?: string; + 'hubName'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fqdn", + "baseName": "fqdn", + "type": "string", + "format": "" + }, + { + "name": "hubName", + "baseName": "hubName", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "sharedAccessKey", + "baseName": "sharedAccessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sharedAccessKeyName", + "baseName": "sharedAccessKeyName", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts new file mode 100644 index 0000000..a27e330 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1AzureEventsHubEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'fqdn'?: string; + 'hubName'?: string; + 'metadata'?: { [key: string]: string; }; + 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "fqdn", + "baseName": "fqdn", + "type": "string", + "format": "" + }, + { + "name": "hubName", + "baseName": "hubName", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "sharedAccessKey", + "baseName": "sharedAccessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sharedAccessKeyName", + "baseName": "sharedAccessKeyName", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Backoff.ts new file mode 100644 index 0000000..8ed334c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Backoff.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Backoff { + 'duration'?: IoArgoprojEventsV1alpha1Int64OrString; + 'factor'?: IoArgoprojEventsV1alpha1Amount; + 'jitter'?: IoArgoprojEventsV1alpha1Amount; + 'steps'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "IoArgoprojEventsV1alpha1Int64OrString", + "format": "" + }, + { + "name": "factor", + "baseName": "factor", + "type": "IoArgoprojEventsV1alpha1Amount", + "format": "" + }, + { + "name": "jitter", + "baseName": "jitter", + "type": "IoArgoprojEventsV1alpha1Amount", + "format": "" + }, + { + "name": "steps", + "baseName": "steps", + "type": "number", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BasicAuth.ts new file mode 100644 index 0000000..9cde938 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BasicAuth.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BasicAuth { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts new file mode 100644 index 0000000..0f9c11e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketAuth { + 'basic'?: IoArgoprojEventsV1alpha1BitbucketBasicAuth; + 'oauthToken'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "IoArgoprojEventsV1alpha1BitbucketBasicAuth", + "format": "" + }, + { + "name": "oauthToken", + "baseName": "oauthToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts new file mode 100644 index 0000000..ec1fd72 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketBasicAuth { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts new file mode 100644 index 0000000..8d15f11 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts @@ -0,0 +1,105 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1BitbucketEventSource { + 'auth'?: IoArgoprojEventsV1alpha1BitbucketAuth; + 'deleteHookOnFinish'?: boolean; + /** + * Events this webhook is subscribed to. + */ + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'owner'?: string; + 'projectKey'?: string; + 'repositories'?: Array; + 'repositorySlug'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1BitbucketAuth", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts new file mode 100644 index 0000000..c2a7e72 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketRepository { + 'owner'?: string; + 'repositorySlug'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts new file mode 100644 index 0000000..7303a02 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1BitbucketServerEventSource { + 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; + 'bitbucketserverBaseURL'?: string; + 'deleteHookOnFinish'?: boolean; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'projectKey'?: string; + 'repositories'?: Array; + 'repositorySlug'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessToken", + "baseName": "accessToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bitbucketserverBaseURL", + "baseName": "bitbucketserverBaseURL", + "type": "string", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + }, + { + "name": "webhookSecret", + "baseName": "webhookSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts new file mode 100644 index 0000000..9e0ad23 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1BitbucketServerRepository { + 'projectKey'?: string; + 'repositorySlug'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "projectKey", + "baseName": "projectKey", + "type": "string", + "format": "" + }, + { + "name": "repositorySlug", + "baseName": "repositorySlug", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts new file mode 100644 index 0000000..f9ffc60 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1CalendarEventSource { + /** + * ExclusionDates defines the list of DATE-TIME exceptions for recurring events. + */ + 'exclusionDates'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'interval'?: string; + 'metadata'?: { [key: string]: string; }; + 'persistence'?: IoArgoprojEventsV1alpha1EventPersistence; + 'schedule'?: string; + 'timezone'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exclusionDates", + "baseName": "exclusionDates", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "interval", + "baseName": "interval", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "persistence", + "baseName": "persistence", + "type": "IoArgoprojEventsV1alpha1EventPersistence", + "format": "" + }, + { + "name": "schedule", + "baseName": "schedule", + "type": "string", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts new file mode 100644 index 0000000..26bb133 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1CatchupConfiguration { + 'enabled'?: boolean; + 'maxDuration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "enabled", + "baseName": "enabled", + "type": "boolean", + "format": "" + }, + { + "name": "maxDuration", + "baseName": "maxDuration", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Condition.ts new file mode 100644 index 0000000..eff2050 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Condition.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Condition { + /** + * 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. + */ + 'lastTransitionTime'?: Date; + 'message'?: string; + 'reason'?: string; + 'status'?: string; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "lastTransitionTime", + "baseName": "lastTransitionTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts new file mode 100644 index 0000000..60556b7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConditionsResetByTime { + 'cron'?: string; + 'timezone'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cron", + "baseName": "cron", + "type": "string", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts new file mode 100644 index 0000000..df2b69e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConditionsResetCriteria { + 'byTime'?: IoArgoprojEventsV1alpha1ConditionsResetByTime; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "byTime", + "baseName": "byTime", + "type": "IoArgoprojEventsV1alpha1ConditionsResetByTime", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts new file mode 100644 index 0000000..ebae96b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ConfigMapPersistence { + 'createIfNotExist'?: boolean; + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createIfNotExist", + "baseName": "createIfNotExist", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1CustomTrigger.ts new file mode 100644 index 0000000..6528d6c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CustomTrigger.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* CustomTrigger refers to the specification of the custom trigger. +*/ +export class IoArgoprojEventsV1alpha1CustomTrigger { + 'certSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Parameters is the list of parameters that is applied to resolved custom trigger trigger object. + */ + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'secure'?: boolean; + /** + * ServerNameOverride for the secure connection between sensor and custom trigger gRPC server. + */ + 'serverNameOverride'?: string; + 'serverURL'?: string; + /** + * Spec is the custom trigger resource specification that custom trigger gRPC server knows how to interpret. + */ + 'spec'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "certSecret", + "baseName": "certSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "secure", + "baseName": "secure", + "type": "boolean", + "format": "" + }, + { + "name": "serverNameOverride", + "baseName": "serverNameOverride", + "type": "string", + "format": "" + }, + { + "name": "serverURL", + "baseName": "serverURL", + "type": "string", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1DataFilter.ts new file mode 100644 index 0000000..79b5dfb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1DataFilter.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1DataFilter { + /** + * Comparator compares the event data with a user given value. Can be \">=\", \">\", \"=\", \"!=\", \"<\", or \"<=\". Is optional, and if left blank treated as equality \"=\". + */ + 'comparator'?: string; + /** + * Path is the JSONPath of the event\'s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'path'?: string; + 'template'?: string; + 'type'?: string; + 'value'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "comparator", + "baseName": "comparator", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts new file mode 100644 index 0000000..378757d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts @@ -0,0 +1,105 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EmitterEventSource { + /** + * Broker URI to connect to. + */ + 'broker'?: string; + 'channelKey'?: string; + 'channelName'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "broker", + "baseName": "broker", + "type": "string", + "format": "" + }, + { + "name": "channelKey", + "baseName": "channelKey", + "type": "string", + "format": "" + }, + { + "name": "channelName", + "baseName": "channelName", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventContext.ts new file mode 100644 index 0000000..ee07d2d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventContext.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventContext { + /** + * DataContentType - A MIME (RFC2046) string describing the media type of `data`. + */ + 'datacontenttype'?: string; + /** + * ID of the event; must be non-empty and unique within the scope of the producer. + */ + 'id'?: string; + /** + * Source - A URI describing the event producer. + */ + 'source'?: string; + /** + * SpecVersion - The version of the CloudEvents specification used by the io.argoproj.workflow.v1alpha1. + */ + 'specversion'?: string; + 'subject'?: string; + /** + * 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. + */ + 'time'?: Date; + /** + * Type - The type of the occurrence which has happened. + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "datacontenttype", + "baseName": "datacontenttype", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + }, + { + "name": "specversion", + "baseName": "specversion", + "type": "string", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventDependency.ts new file mode 100644 index 0000000..35d9fed --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependency.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventDependency { + 'eventName'?: string; + 'eventSourceName'?: string; + 'filters'?: IoArgoprojEventsV1alpha1EventDependencyFilter; + /** + * FiltersLogicalOperator defines how different filters are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'filtersLogicalOperator'?: string; + 'name'?: string; + 'transform'?: IoArgoprojEventsV1alpha1EventDependencyTransformer; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventName", + "baseName": "eventName", + "type": "string", + "format": "" + }, + { + "name": "eventSourceName", + "baseName": "eventSourceName", + "type": "string", + "format": "" + }, + { + "name": "filters", + "baseName": "filters", + "type": "IoArgoprojEventsV1alpha1EventDependencyFilter", + "format": "" + }, + { + "name": "filtersLogicalOperator", + "baseName": "filtersLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "transform", + "baseName": "transform", + "type": "IoArgoprojEventsV1alpha1EventDependencyTransformer", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts new file mode 100644 index 0000000..1e86648 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* EventDependencyFilter defines filters and constraints for a io.argoproj.workflow.v1alpha1. +*/ +export class IoArgoprojEventsV1alpha1EventDependencyFilter { + 'context'?: IoArgoprojEventsV1alpha1EventContext; + 'data'?: Array; + /** + * DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'dataLogicalOperator'?: string; + /** + * ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). + */ + 'exprLogicalOperator'?: string; + /** + * Exprs contains the list of expressions evaluated against the event payload. + */ + 'exprs'?: Array; + /** + * Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1. + */ + 'script'?: string; + 'time'?: IoArgoprojEventsV1alpha1TimeFilter; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "context", + "baseName": "context", + "type": "IoArgoprojEventsV1alpha1EventContext", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "dataLogicalOperator", + "baseName": "dataLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "exprLogicalOperator", + "baseName": "exprLogicalOperator", + "type": "string", + "format": "" + }, + { + "name": "exprs", + "baseName": "exprs", + "type": "Array", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "IoArgoprojEventsV1alpha1TimeFilter", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts new file mode 100644 index 0000000..647cb54 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventDependencyTransformer { + 'jq'?: string; + 'script'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "jq", + "baseName": "jq", + "type": "string", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventPersistence.ts new file mode 100644 index 0000000..86a671b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventPersistence.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventPersistence { + 'catchup'?: IoArgoprojEventsV1alpha1CatchupConfiguration; + 'configMap'?: IoArgoprojEventsV1alpha1ConfigMapPersistence; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "catchup", + "baseName": "catchup", + "type": "IoArgoprojEventsV1alpha1CatchupConfiguration", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "IoArgoprojEventsV1alpha1ConfigMapPersistence", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventSource.ts new file mode 100644 index 0000000..8d688d4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EventSource { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoArgoprojEventsV1alpha1EventSourceSpec; + 'status'?: IoArgoprojEventsV1alpha1EventSourceStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojEventsV1alpha1EventSourceSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1EventSourceStatus", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts new file mode 100644 index 0000000..945829b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceFilter { + 'expression'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventSourceList.ts new file mode 100644 index 0000000..fcaffd9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceList.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceList { + 'items'?: Array; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts new file mode 100644 index 0000000..c8deb35 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts @@ -0,0 +1,274 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1EventSourceSpec { + 'amqp'?: { [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }; + 'azureEventsHub'?: { [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }; + 'bitbucket'?: { [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }; + 'bitbucketserver'?: { [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }; + 'calendar'?: { [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }; + 'emitter'?: { [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }; + 'eventBusName'?: string; + 'file'?: { [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }; + 'generic'?: { [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }; + 'github'?: { [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }; + 'gitlab'?: { [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }; + 'hdfs'?: { [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }; + 'kafka'?: { [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }; + 'minio'?: { [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }; + 'mqtt'?: { [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }; + 'nats'?: { [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }; + 'nsq'?: { [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }; + 'pubSub'?: { [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }; + 'pulsar'?: { [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }; + 'redis'?: { [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }; + 'redisStream'?: { [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }; + 'replicas'?: number; + 'resource'?: { [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }; + 'service'?: IoArgoprojEventsV1alpha1Service; + 'slack'?: { [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }; + 'sns'?: { [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }; + 'sqs'?: { [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }; + 'storageGrid'?: { [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }; + 'stripe'?: { [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }; + 'template'?: IoArgoprojEventsV1alpha1Template; + 'webhook'?: { [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "amqp", + "baseName": "amqp", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }", + "format": "" + }, + { + "name": "azureEventsHub", + "baseName": "azureEventsHub", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }", + "format": "" + }, + { + "name": "bitbucket", + "baseName": "bitbucket", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }", + "format": "" + }, + { + "name": "bitbucketserver", + "baseName": "bitbucketserver", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }", + "format": "" + }, + { + "name": "calendar", + "baseName": "calendar", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }", + "format": "" + }, + { + "name": "emitter", + "baseName": "emitter", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }", + "format": "" + }, + { + "name": "eventBusName", + "baseName": "eventBusName", + "type": "string", + "format": "" + }, + { + "name": "file", + "baseName": "file", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }", + "format": "" + }, + { + "name": "generic", + "baseName": "generic", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }", + "format": "" + }, + { + "name": "github", + "baseName": "github", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }", + "format": "" + }, + { + "name": "gitlab", + "baseName": "gitlab", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }", + "format": "" + }, + { + "name": "kafka", + "baseName": "kafka", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }", + "format": "" + }, + { + "name": "minio", + "baseName": "minio", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }", + "format": "" + }, + { + "name": "mqtt", + "baseName": "mqtt", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }", + "format": "" + }, + { + "name": "nats", + "baseName": "nats", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }", + "format": "" + }, + { + "name": "nsq", + "baseName": "nsq", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }", + "format": "" + }, + { + "name": "pubSub", + "baseName": "pubSub", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }", + "format": "" + }, + { + "name": "pulsar", + "baseName": "pulsar", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }", + "format": "" + }, + { + "name": "redis", + "baseName": "redis", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }", + "format": "" + }, + { + "name": "redisStream", + "baseName": "redisStream", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }", + "format": "" + }, + { + "name": "replicas", + "baseName": "replicas", + "type": "number", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }", + "format": "" + }, + { + "name": "service", + "baseName": "service", + "type": "IoArgoprojEventsV1alpha1Service", + "format": "" + }, + { + "name": "slack", + "baseName": "slack", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }", + "format": "" + }, + { + "name": "sns", + "baseName": "sns", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }", + "format": "" + }, + { + "name": "sqs", + "baseName": "sqs", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }", + "format": "" + }, + { + "name": "storageGrid", + "baseName": "storageGrid", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }", + "format": "" + }, + { + "name": "stripe", + "baseName": "stripe", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1Template", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "{ [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts new file mode 100644 index 0000000..730e5e2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1EventSourceStatus { + 'status'?: IoArgoprojEventsV1alpha1Status; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1Status", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ExprFilter.ts new file mode 100644 index 0000000..15a58c6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ExprFilter.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ExprFilter { + /** + * Expr refers to the expression that determines the outcome of the filter. + */ + 'expr'?: string; + /** + * Fields refers to set of keys that refer to the paths within event payload. + */ + 'fields'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expr", + "baseName": "expr", + "type": "string", + "format": "" + }, + { + "name": "fields", + "baseName": "fields", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1FileArtifact.ts new file mode 100644 index 0000000..c2c3670 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileArtifact.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1FileArtifact { + 'path'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1FileEventSource.ts new file mode 100644 index 0000000..340ac56 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileEventSource.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { HttpFile } from '../http/http'; + +/** +* FileEventSource describes an event-source for file related events. +*/ +export class IoArgoprojEventsV1alpha1FileEventSource { + 'eventType'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'polling'?: boolean; + 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventType", + "baseName": "eventType", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "polling", + "baseName": "polling", + "type": "boolean", + "format": "" + }, + { + "name": "watchPathConfig", + "baseName": "watchPathConfig", + "type": "IoArgoprojEventsV1alpha1WatchPathConfig", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GenericEventSource.ts new file mode 100644 index 0000000..d8cf36e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GenericEventSource.ts @@ -0,0 +1,88 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GenericEventSource refers to a generic event source. It can be used to implement a custom event source. +*/ +export class IoArgoprojEventsV1alpha1GenericEventSource { + 'authSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'config'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + /** + * Insecure determines the type of connection. + */ + 'insecure'?: boolean; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + /** + * URL of the gRPC server that implements the event source. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authSecret", + "baseName": "authSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "config", + "baseName": "config", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GitArtifact.ts new file mode 100644 index 0000000..8b5495a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitArtifact.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GitArtifact { + 'branch'?: string; + /** + * Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don\'t use any specific git provider client. + */ + 'cloneDirectory'?: string; + 'creds'?: IoArgoprojEventsV1alpha1GitCreds; + 'filePath'?: string; + 'insecureIgnoreHostKey'?: boolean; + 'ref'?: string; + 'remote'?: IoArgoprojEventsV1alpha1GitRemoteConfig; + 'sshKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tag'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "branch", + "baseName": "branch", + "type": "string", + "format": "" + }, + { + "name": "cloneDirectory", + "baseName": "cloneDirectory", + "type": "string", + "format": "" + }, + { + "name": "creds", + "baseName": "creds", + "type": "IoArgoprojEventsV1alpha1GitCreds", + "format": "" + }, + { + "name": "filePath", + "baseName": "filePath", + "type": "string", + "format": "" + }, + { + "name": "insecureIgnoreHostKey", + "baseName": "insecureIgnoreHostKey", + "type": "boolean", + "format": "" + }, + { + "name": "ref", + "baseName": "ref", + "type": "string", + "format": "" + }, + { + "name": "remote", + "baseName": "remote", + "type": "IoArgoprojEventsV1alpha1GitRemoteConfig", + "format": "" + }, + { + "name": "sshKeySecret", + "baseName": "sshKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tag", + "baseName": "tag", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GitCreds.ts new file mode 100644 index 0000000..19260f4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitCreds.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GitCreds { + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'username'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts new file mode 100644 index 0000000..f4f47ee --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GitRemoteConfig { + /** + * Name of the remote to fetch from. + */ + 'name'?: string; + /** + * URLs the URLs of a remote repository. It must be non-empty. Fetch will always use the first URL, while push will use all of them. + */ + 'urls'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "urls", + "baseName": "urls", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts new file mode 100644 index 0000000..e276196 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1GithubAppCreds { + 'appID'?: string; + 'installationID'?: string; + 'privateKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "appID", + "baseName": "appID", + "type": "string", + "format": "" + }, + { + "name": "installationID", + "baseName": "installationID", + "type": "string", + "format": "" + }, + { + "name": "privateKey", + "baseName": "privateKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GithubEventSource.ts new file mode 100644 index 0000000..0c7ae02 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubEventSource.ts @@ -0,0 +1,165 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GithubEventSource { + 'active'?: boolean; + 'apiToken'?: IoK8sApiCoreV1SecretKeySelector; + 'contentType'?: string; + 'deleteHookOnFinish'?: boolean; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'githubApp'?: IoArgoprojEventsV1alpha1GithubAppCreds; + 'githubBaseURL'?: string; + 'githubUploadURL'?: string; + 'id'?: string; + 'insecure'?: boolean; + 'metadata'?: { [key: string]: string; }; + /** + * Organizations holds the names of organizations (used for organization level webhooks). Not required if Repositories is set. + */ + 'organizations'?: Array; + 'owner'?: string; + /** + * Repositories holds the information of repositories, which uses repo owner as the key, and list of repo names as the value. Not required if Organizations is set. + */ + 'repositories'?: Array; + 'repository'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "active", + "baseName": "active", + "type": "boolean", + "format": "" + }, + { + "name": "apiToken", + "baseName": "apiToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "contentType", + "baseName": "contentType", + "type": "string", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "githubApp", + "baseName": "githubApp", + "type": "IoArgoprojEventsV1alpha1GithubAppCreds", + "format": "" + }, + { + "name": "githubBaseURL", + "baseName": "githubBaseURL", + "type": "string", + "format": "" + }, + { + "name": "githubUploadURL", + "baseName": "githubUploadURL", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "organizations", + "baseName": "organizations", + "type": "Array", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + }, + { + "name": "repositories", + "baseName": "repositories", + "type": "Array", + "format": "" + }, + { + "name": "repository", + "baseName": "repository", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + }, + { + "name": "webhookSecret", + "baseName": "webhookSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts new file mode 100644 index 0000000..db88eb1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts @@ -0,0 +1,111 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1GitlabEventSource { + 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; + 'deleteHookOnFinish'?: boolean; + 'enableSSLVerification'?: boolean; + /** + * Events are gitlab event to listen to. Refer https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794. + */ + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'gitlabBaseURL'?: string; + 'metadata'?: { [key: string]: string; }; + 'projectID'?: string; + 'projects'?: Array; + 'secretToken'?: IoK8sApiCoreV1SecretKeySelector; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessToken", + "baseName": "accessToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "deleteHookOnFinish", + "baseName": "deleteHookOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "enableSSLVerification", + "baseName": "enableSSLVerification", + "type": "boolean", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "gitlabBaseURL", + "baseName": "gitlabBaseURL", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectID", + "baseName": "projectID", + "type": "string", + "format": "" + }, + { + "name": "projects", + "baseName": "projects", + "type": "Array", + "format": "" + }, + { + "name": "secretToken", + "baseName": "secretToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts new file mode 100644 index 0000000..b670dfa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts @@ -0,0 +1,135 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1HDFSEventSource { + 'addresses'?: Array; + 'checkInterval'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + 'metadata'?: { [key: string]: string; }; + 'type'?: string; + 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "checkInterval", + "baseName": "checkInterval", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "watchPathConfig", + "baseName": "watchPathConfig", + "type": "IoArgoprojEventsV1alpha1WatchPathConfig", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts new file mode 100644 index 0000000..6290da9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1HTTPTrigger { + 'basicAuth'?: IoArgoprojEventsV1alpha1BasicAuth; + 'headers'?: { [key: string]: string; }; + 'method'?: string; + /** + * Parameters is the list of key-value extracted from event\'s payload that are applied to the HTTP trigger resource. + */ + 'parameters'?: Array; + 'payload'?: Array; + 'secureHeaders'?: Array; + 'timeout'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * URL refers to the URL to send HTTP request to. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basicAuth", + "baseName": "basicAuth", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "secureHeaders", + "baseName": "secureHeaders", + "type": "Array", + "format": "" + }, + { + "name": "timeout", + "baseName": "timeout", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Int64OrString.ts new file mode 100644 index 0000000..06a5707 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Int64OrString.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Int64OrString { + 'int64Val'?: string; + 'strVal'?: string; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "int64Val", + "baseName": "int64Val", + "type": "string", + "format": "" + }, + { + "name": "strVal", + "baseName": "strVal", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts new file mode 100644 index 0000000..747b99a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1K8SResourcePolicy { + 'backoff'?: IoArgoprojEventsV1alpha1Backoff; + 'errorOnBackoffTimeout'?: boolean; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "backoff", + "baseName": "backoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "errorOnBackoffTimeout", + "baseName": "errorOnBackoffTimeout", + "type": "boolean", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts new file mode 100644 index 0000000..805961c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1KafkaConsumerGroup { + 'groupName'?: string; + 'oldest'?: boolean; + 'rebalanceStrategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "groupName", + "baseName": "groupName", + "type": "string", + "format": "" + }, + { + "name": "oldest", + "baseName": "oldest", + "type": "boolean", + "format": "" + }, + { + "name": "rebalanceStrategy", + "baseName": "rebalanceStrategy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts new file mode 100644 index 0000000..2b229e0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts @@ -0,0 +1,127 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1KafkaEventSource { + /** + * Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional + */ + 'config'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'consumerGroup'?: IoArgoprojEventsV1alpha1KafkaConsumerGroup; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'limitEventsPerSecond'?: string; + 'metadata'?: { [key: string]: string; }; + 'partition'?: string; + 'sasl'?: IoArgoprojEventsV1alpha1SASLConfig; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + 'url'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "consumerGroup", + "baseName": "consumerGroup", + "type": "IoArgoprojEventsV1alpha1KafkaConsumerGroup", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "limitEventsPerSecond", + "baseName": "limitEventsPerSecond", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "string", + "format": "" + }, + { + "name": "sasl", + "baseName": "sasl", + "type": "IoArgoprojEventsV1alpha1SASLConfig", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts new file mode 100644 index 0000000..909582a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts @@ -0,0 +1,136 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* KafkaTrigger refers to the specification of the Kafka trigger. +*/ +export class IoArgoprojEventsV1alpha1KafkaTrigger { + 'compress'?: boolean; + 'flushFrequency'?: number; + /** + * Parameters is the list of parameters that is applied to resolved Kafka trigger object. + */ + 'parameters'?: Array; + /** + * Partition to write data to. + */ + 'partition'?: number; + /** + * The partitioning key for the messages put on the Kafka topic. Defaults to broker url. +optional. + */ + 'partitioningKey'?: string; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + /** + * RequiredAcks used in producer to tell the broker how many replica acknowledgements Defaults to 1 (Only wait for the leader to ack). +optional. + */ + 'requiredAcks'?: number; + 'sasl'?: IoArgoprojEventsV1alpha1SASLConfig; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + /** + * URL of the Kafka broker, multiple URLs separated by comma. + */ + 'url'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "compress", + "baseName": "compress", + "type": "boolean", + "format": "" + }, + { + "name": "flushFrequency", + "baseName": "flushFrequency", + "type": "number", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "partitioningKey", + "baseName": "partitioningKey", + "type": "string", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "requiredAcks", + "baseName": "requiredAcks", + "type": "number", + "format": "" + }, + { + "name": "sasl", + "baseName": "sasl", + "type": "IoArgoprojEventsV1alpha1SASLConfig", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1LogTrigger.ts new file mode 100644 index 0000000..487bb57 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1LogTrigger.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1LogTrigger { + 'intervalSeconds'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "intervalSeconds", + "baseName": "intervalSeconds", + "type": "string", + "format": "uint64" + } ]; + + 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/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts new file mode 100644 index 0000000..9637e55 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts @@ -0,0 +1,87 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1MQTTEventSource { + 'clientId'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'topic'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientId", + "baseName": "clientId", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Metadata.ts new file mode 100644 index 0000000..2d94329 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Metadata.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Metadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1NATSAuth.ts new file mode 100644 index 0000000..d21f7c2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSAuth.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1NATSAuth { + 'basic'?: IoArgoprojEventsV1alpha1BasicAuth; + 'credential'?: IoK8sApiCoreV1SecretKeySelector; + 'nkey'?: IoK8sApiCoreV1SecretKeySelector; + 'token'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "IoArgoprojEventsV1alpha1BasicAuth", + "format": "" + }, + { + "name": "credential", + "baseName": "credential", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "nkey", + "baseName": "nkey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "token", + "baseName": "token", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts new file mode 100644 index 0000000..2e6886e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts @@ -0,0 +1,88 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1NATSEventsSource { + 'auth'?: IoArgoprojEventsV1alpha1NATSAuth; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'subject'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojEventsV1alpha1NATSAuth", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1NATSTrigger.ts new file mode 100644 index 0000000..3693da8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSTrigger.ts @@ -0,0 +1,74 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +/** +* NATSTrigger refers to the specification of the NATS trigger. +*/ +export class IoArgoprojEventsV1alpha1NATSTrigger { + 'parameters'?: Array; + 'payload'?: Array; + /** + * Name of the subject to put message on. + */ + 'subject'?: string; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * URL of the NATS cluster. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1NSQEventSource.ts new file mode 100644 index 0000000..468a1cb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NSQEventSource.ts @@ -0,0 +1,90 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1NSQEventSource { + 'channel'?: string; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + /** + * Topic to subscribe to. + */ + 'topic'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channel", + "baseName": "channel", + "type": "string", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts new file mode 100644 index 0000000..cfd026c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OpenWhiskTrigger refers to the specification of the OpenWhisk trigger. +*/ +export class IoArgoprojEventsV1alpha1OpenWhiskTrigger { + /** + * Name of the action/function. + */ + 'actionName'?: string; + 'authToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Host URL of the OpenWhisk. + */ + 'host'?: string; + /** + * Namespace for the action. Defaults to \"_\". +optional. + */ + 'namespace'?: string; + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "actionName", + "baseName": "actionName", + "type": "string", + "format": "" + }, + { + "name": "authToken", + "baseName": "authToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts new file mode 100644 index 0000000..a51a852 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1OwnedRepositories { + 'names'?: Array; + 'owner'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "names", + "baseName": "names", + "type": "Array", + "format": "" + }, + { + "name": "owner", + "baseName": "owner", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1PayloadField.ts new file mode 100644 index 0000000..92f398d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PayloadField.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PayloadField binds a value at path within the event payload against a name. +*/ +export class IoArgoprojEventsV1alpha1PayloadField { + /** + * Name acts as key that holds the value at the path. + */ + 'name'?: string; + /** + * Path is the JSONPath of the event\'s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'path'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts new file mode 100644 index 0000000..dbcbc33 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* PubSubEventSource refers to event-source for GCP PubSub related events. +*/ +export class IoArgoprojEventsV1alpha1PubSubEventSource { + 'credentialSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'deleteSubscriptionOnFinish'?: boolean; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'projectID'?: string; + 'subscriptionID'?: string; + 'topic'?: string; + 'topicProjectID'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "credentialSecret", + "baseName": "credentialSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "deleteSubscriptionOnFinish", + "baseName": "deleteSubscriptionOnFinish", + "type": "boolean", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "projectID", + "baseName": "projectID", + "type": "string", + "format": "" + }, + { + "name": "subscriptionID", + "baseName": "subscriptionID", + "type": "string", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "topicProjectID", + "baseName": "topicProjectID", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts new file mode 100644 index 0000000..224ca30 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts @@ -0,0 +1,116 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1PulsarEventSource { + 'authTokenSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'tlsAllowInsecureConnection'?: boolean; + 'tlsTrustCertsSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tlsValidateHostname'?: boolean; + 'topics'?: Array; + 'type'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authTokenSecret", + "baseName": "authTokenSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "tlsAllowInsecureConnection", + "baseName": "tlsAllowInsecureConnection", + "type": "boolean", + "format": "" + }, + { + "name": "tlsTrustCertsSecret", + "baseName": "tlsTrustCertsSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tlsValidateHostname", + "baseName": "tlsValidateHostname", + "type": "boolean", + "format": "" + }, + { + "name": "topics", + "baseName": "topics", + "type": "Array", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts new file mode 100644 index 0000000..266ba90 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts @@ -0,0 +1,111 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PulsarTrigger refers to the specification of the Pulsar trigger. +*/ +export class IoArgoprojEventsV1alpha1PulsarTrigger { + 'authTokenSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'connectionBackoff'?: IoArgoprojEventsV1alpha1Backoff; + /** + * Parameters is the list of parameters that is applied to resolved Kafka trigger object. + */ + 'parameters'?: Array; + /** + * Payload is the list of key-value extracted from an event payload to construct the request payload. + */ + 'payload'?: Array; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'tlsAllowInsecureConnection'?: boolean; + 'tlsTrustCertsSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'tlsValidateHostname'?: boolean; + 'topic'?: string; + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authTokenSecret", + "baseName": "authTokenSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "connectionBackoff", + "baseName": "connectionBackoff", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "payload", + "baseName": "payload", + "type": "Array", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "tlsAllowInsecureConnection", + "baseName": "tlsAllowInsecureConnection", + "type": "boolean", + "format": "" + }, + { + "name": "tlsTrustCertsSecret", + "baseName": "tlsTrustCertsSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tlsValidateHostname", + "baseName": "tlsValidateHostname", + "type": "boolean", + "format": "" + }, + { + "name": "topic", + "baseName": "topic", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1RateLimit.ts new file mode 100644 index 0000000..a52ac56 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RateLimit.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1RateLimit { + 'requestsPerUnit'?: number; + 'unit'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "requestsPerUnit", + "baseName": "requestsPerUnit", + "type": "number", + "format": "" + }, + { + "name": "unit", + "baseName": "unit", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1RedisEventSource.ts new file mode 100644 index 0000000..af04416 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisEventSource.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1RedisEventSource { + 'channels'?: Array; + 'db'?: number; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'namespace'?: string; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channels", + "baseName": "channels", + "type": "Array", + "format": "" + }, + { + "name": "db", + "baseName": "db", + "type": "number", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts new file mode 100644 index 0000000..679adf3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1RedisStreamEventSource { + 'consumerGroup'?: string; + 'db'?: number; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'hostAddress'?: string; + 'maxMsgCountPerRead'?: number; + 'metadata'?: { [key: string]: string; }; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Streams to look for entries. XREADGROUP is used on all streams using a single consumer group. + */ + 'streams'?: Array; + 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; + 'username'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "consumerGroup", + "baseName": "consumerGroup", + "type": "string", + "format": "" + }, + { + "name": "db", + "baseName": "db", + "type": "number", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "hostAddress", + "baseName": "hostAddress", + "type": "string", + "format": "" + }, + { + "name": "maxMsgCountPerRead", + "baseName": "maxMsgCountPerRead", + "type": "number", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "streams", + "baseName": "streams", + "type": "Array", + "format": "" + }, + { + "name": "tls", + "baseName": "tls", + "type": "IoArgoprojEventsV1alpha1TLSConfig", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Resource.ts new file mode 100644 index 0000000..9544d0c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Resource.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Resource represent arbitrary structured data. +*/ +export class IoArgoprojEventsV1alpha1Resource { + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "byte" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts new file mode 100644 index 0000000..740d83a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { HttpFile } from '../http/http'; + +/** +* ResourceEventSource refers to a event-source for K8s resource related events. +*/ +export class IoArgoprojEventsV1alpha1ResourceEventSource { + /** + * EventTypes is the list of event type to watch. Possible values are - ADD, UPDATE and DELETE. + */ + 'eventTypes'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1ResourceFilter; + 'groupVersionResource'?: IoK8sApimachineryPkgApisMetaV1GroupVersionResource; + 'metadata'?: { [key: string]: string; }; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "eventTypes", + "baseName": "eventTypes", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1ResourceFilter", + "format": "" + }, + { + "name": "groupVersionResource", + "baseName": "groupVersionResource", + "type": "IoK8sApimachineryPkgApisMetaV1GroupVersionResource", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ResourceFilter.ts new file mode 100644 index 0000000..df226ed --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceFilter.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ResourceFilter { + 'afterStart'?: boolean; + /** + * 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. + */ + 'createdBy'?: Date; + 'fields'?: Array; + 'labels'?: Array; + 'prefix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "afterStart", + "baseName": "afterStart", + "type": "boolean", + "format": "" + }, + { + "name": "createdBy", + "baseName": "createdBy", + "type": "Date", + "format": "date-time" + }, + { + "name": "fields", + "baseName": "fields", + "type": "Array", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "Array", + "format": "" + }, + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1S3Artifact.ts new file mode 100644 index 0000000..e3cdfbc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Artifact.ts @@ -0,0 +1,94 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1S3Artifact { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'bucket'?: IoArgoprojEventsV1alpha1S3Bucket; + 'endpoint'?: string; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1S3Filter; + 'insecure'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "IoArgoprojEventsV1alpha1S3Bucket", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1S3Filter", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1S3Bucket.ts new file mode 100644 index 0000000..57afc9b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Bucket.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1S3Bucket { + 'key'?: string; + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1S3Filter.ts new file mode 100644 index 0000000..02ac623 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Filter.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1S3Filter { + 'prefix'?: string; + 'suffix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "suffix", + "baseName": "suffix", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SASLConfig.ts new file mode 100644 index 0000000..f678440 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SASLConfig.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SASLConfig { + 'mechanism'?: string; + 'password'?: IoK8sApiCoreV1SecretKeySelector; + 'user'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mechanism", + "baseName": "mechanism", + "type": "string", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SNSEventSource.ts new file mode 100644 index 0000000..e8d4ec9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SNSEventSource.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SNSEventSource { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'endpoint'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + 'topicArn'?: string; + 'validateSignature'?: boolean; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "topicArn", + "baseName": "topicArn", + "type": "string", + "format": "" + }, + { + "name": "validateSignature", + "baseName": "validateSignature", + "type": "boolean", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SQSEventSource.ts new file mode 100644 index 0000000..c3e1bcb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SQSEventSource.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SQSEventSource { + 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; + 'dlq'?: boolean; + 'endpoint'?: string; + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'jsonBody'?: boolean; + 'metadata'?: { [key: string]: string; }; + 'queue'?: string; + 'queueAccountId'?: string; + 'region'?: string; + 'roleARN'?: string; + 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; + 'sessionToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. + */ + 'waitTimeSeconds'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKey", + "baseName": "accessKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "dlq", + "baseName": "dlq", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "jsonBody", + "baseName": "jsonBody", + "type": "boolean", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "queue", + "baseName": "queue", + "type": "string", + "format": "" + }, + { + "name": "queueAccountId", + "baseName": "queueAccountId", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKey", + "baseName": "secretKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "sessionToken", + "baseName": "sessionToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "waitTimeSeconds", + "baseName": "waitTimeSeconds", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SecureHeader.ts new file mode 100644 index 0000000..93544e6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SecureHeader.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SecureHeader { + 'name'?: string; + 'valueFrom'?: IoArgoprojEventsV1alpha1ValueFromSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojEventsV1alpha1ValueFromSource", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Selector.ts new file mode 100644 index 0000000..8422015 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Selector.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Selector represents conditional operation to select K8s objects. +*/ +export class IoArgoprojEventsV1alpha1Selector { + 'key'?: string; + 'operation'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Sensor.ts new file mode 100644 index 0000000..e409dfc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Sensor.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Sensor { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoArgoprojEventsV1alpha1SensorSpec; + 'status'?: IoArgoprojEventsV1alpha1SensorStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojEventsV1alpha1SensorSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1SensorStatus", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SensorList.ts new file mode 100644 index 0000000..cfa04dd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorList.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1SensorList { + 'items'?: Array; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SensorSpec.ts new file mode 100644 index 0000000..2e305c4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorSpec.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SensorSpec { + /** + * Dependencies is a list of the events that this sensor is dependent on. + */ + 'dependencies'?: Array; + /** + * ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails. Once sensor state is set to `error`, no further triggers will be processed. + */ + 'errorOnFailedRound'?: boolean; + 'eventBusName'?: string; + 'replicas'?: number; + 'template'?: IoArgoprojEventsV1alpha1Template; + /** + * Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor. + */ + 'triggers'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "errorOnFailedRound", + "baseName": "errorOnFailedRound", + "type": "boolean", + "format": "" + }, + { + "name": "eventBusName", + "baseName": "eventBusName", + "type": "string", + "format": "" + }, + { + "name": "replicas", + "baseName": "replicas", + "type": "number", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1Template", + "format": "" + }, + { + "name": "triggers", + "baseName": "triggers", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SensorStatus.ts new file mode 100644 index 0000000..6ee3854 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorStatus.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { HttpFile } from '../http/http'; + +/** +* SensorStatus contains information about the status of a sensor. +*/ +export class IoArgoprojEventsV1alpha1SensorStatus { + 'status'?: IoArgoprojEventsV1alpha1Status; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1Status", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Service.ts new file mode 100644 index 0000000..252c537 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Service.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1Service { + 'clusterIP'?: string; + 'ports'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterIP", + "baseName": "clusterIP", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SlackEventSource.ts new file mode 100644 index 0000000..9cdd2af --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackEventSource.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1SlackEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'metadata'?: { [key: string]: string; }; + 'signingSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'token'?: IoK8sApiCoreV1SecretKeySelector; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "signingSecret", + "baseName": "signingSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "token", + "baseName": "token", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1SlackTrigger.ts new file mode 100644 index 0000000..3c8660d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackTrigger.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* SlackTrigger refers to the specification of the slack notification trigger. +*/ +export class IoArgoprojEventsV1alpha1SlackTrigger { + 'channel'?: string; + 'message'?: string; + 'parameters'?: Array; + 'slackToken'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "channel", + "baseName": "channel", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "slackToken", + "baseName": "slackToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts new file mode 100644 index 0000000..9724bb6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StandardK8STrigger { + 'liveObject'?: boolean; + 'operation'?: string; + /** + * Parameters is the list of parameters that is applied to resolved K8s trigger object. + */ + 'parameters'?: Array; + 'patchStrategy'?: string; + 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "liveObject", + "baseName": "liveObject", + "type": "boolean", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "patchStrategy", + "baseName": "patchStrategy", + "type": "string", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojEventsV1alpha1ArtifactLocation", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Status.ts new file mode 100644 index 0000000..fbf2b53 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Status.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { HttpFile } from '../http/http'; + +/** +* Status is a common structure which can be used for Status field. +*/ +export class IoArgoprojEventsV1alpha1Status { + 'conditions'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1StatusPolicy.ts new file mode 100644 index 0000000..8e75faf --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StatusPolicy.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StatusPolicy { + 'allow'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allow", + "baseName": "allow", + "type": "Array", + "format": "int32" + } ]; + + 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/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts new file mode 100644 index 0000000..cbfae78 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts @@ -0,0 +1,100 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1StorageGridEventSource { + /** + * APIURL is the url of the storagegrid api. + */ + 'apiURL'?: string; + 'authToken'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Name of the bucket to register notifications for. + */ + 'bucket'?: string; + 'events'?: Array; + 'filter'?: IoArgoprojEventsV1alpha1StorageGridFilter; + 'metadata'?: { [key: string]: string; }; + 'region'?: string; + 'topicArn'?: string; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiURL", + "baseName": "apiURL", + "type": "string", + "format": "" + }, + { + "name": "authToken", + "baseName": "authToken", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "events", + "baseName": "events", + "type": "Array", + "format": "" + }, + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1StorageGridFilter", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "topicArn", + "baseName": "topicArn", + "type": "string", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts new file mode 100644 index 0000000..f7dad70 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StorageGridFilter { + 'prefix'?: string; + 'suffix'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "suffix", + "baseName": "suffix", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1StripeEventSource.ts new file mode 100644 index 0000000..701e354 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StripeEventSource.ts @@ -0,0 +1,65 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1StripeEventSource { + 'apiKey'?: IoK8sApiCoreV1SecretKeySelector; + 'createWebhook'?: boolean; + 'eventFilter'?: Array; + 'metadata'?: { [key: string]: string; }; + 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiKey", + "baseName": "apiKey", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "createWebhook", + "baseName": "createWebhook", + "type": "boolean", + "format": "" + }, + { + "name": "eventFilter", + "baseName": "eventFilter", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "webhook", + "baseName": "webhook", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TLSConfig.ts new file mode 100644 index 0000000..aad250e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TLSConfig.ts @@ -0,0 +1,60 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* TLSConfig refers to TLS configuration for a client. +*/ +export class IoArgoprojEventsV1alpha1TLSConfig { + 'caCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'insecureSkipVerify'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "caCertSecret", + "baseName": "caCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientCertSecret", + "baseName": "clientCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientKeySecret", + "baseName": "clientKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "insecureSkipVerify", + "baseName": "insecureSkipVerify", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Template.ts new file mode 100644 index 0000000..88c4816 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Template.ts @@ -0,0 +1,112 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Template { + 'affinity'?: IoK8sApiCoreV1Affinity; + 'container'?: IoK8sApiCoreV1Container; + 'imagePullSecrets'?: Array; + 'metadata'?: IoArgoprojEventsV1alpha1Metadata; + 'nodeSelector'?: { [key: string]: string; }; + 'priority'?: number; + 'priorityClassName'?: string; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + 'serviceAccountName'?: string; + 'tolerations'?: Array; + 'volumes'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "IoK8sApiCoreV1Container", + "format": "" + }, + { + "name": "imagePullSecrets", + "baseName": "imagePullSecrets", + "type": "Array", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoArgoprojEventsV1alpha1Metadata", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "priorityClassName", + "baseName": "priorityClassName", + "type": "string", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TimeFilter.ts new file mode 100644 index 0000000..4f5b9b0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TimeFilter.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoArgoprojEventsV1alpha1TimeFilter { + /** + * Start is the beginning of a time window in UTC. Before this time, events for this dependency are ignored. Format is hh:mm:ss. + */ + 'start'?: string; + /** + * Stop is the end of a time window in UTC. After or equal to this time, events for this dependency are ignored and Format is hh:mm:ss. If it is smaller than Start, it is treated as next day of Start (e.g.: 22:00:00-01:00:00 means 22:00:00-25:00:00). + */ + 'stop'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "start", + "baseName": "start", + "type": "string", + "format": "" + }, + { + "name": "stop", + "baseName": "stop", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1Trigger.ts new file mode 100644 index 0000000..fa6a3a6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Trigger.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojEventsV1alpha1Trigger { + 'parameters'?: Array; + 'policy'?: IoArgoprojEventsV1alpha1TriggerPolicy; + 'rateLimit'?: IoArgoprojEventsV1alpha1RateLimit; + 'retryStrategy'?: IoArgoprojEventsV1alpha1Backoff; + 'template'?: IoArgoprojEventsV1alpha1TriggerTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "policy", + "baseName": "policy", + "type": "IoArgoprojEventsV1alpha1TriggerPolicy", + "format": "" + }, + { + "name": "rateLimit", + "baseName": "rateLimit", + "type": "IoArgoprojEventsV1alpha1RateLimit", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojEventsV1alpha1Backoff", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojEventsV1alpha1TriggerTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TriggerParameter.ts new file mode 100644 index 0000000..8caed14 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameter.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerParameter { + /** + * Dest is the JSONPath of a resource key. A path is a series of keys separated by a dot. The colon character can be escaped with \'.\' The -1 key can be used to append a value to an existing array. See https://github.com/tidwall/sjson#path-syntax for more information about how this is used. + */ + 'dest'?: string; + /** + * Operation is what to do with the existing value at Dest, whether to \'prepend\', \'overwrite\', or \'append\' it. + */ + 'operation'?: string; + 'src'?: IoArgoprojEventsV1alpha1TriggerParameterSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dest", + "baseName": "dest", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "src", + "baseName": "src", + "type": "IoArgoprojEventsV1alpha1TriggerParameterSource", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts new file mode 100644 index 0000000..4dd67c0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerParameterSource { + /** + * ContextKey is the JSONPath of the event\'s (JSON decoded) context key ContextKey is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'contextKey'?: string; + 'contextTemplate'?: string; + /** + * DataKey is the JSONPath of the event\'s (JSON decoded) data key DataKey is a series of keys separated by a dot. A key may contain wildcard characters \'*\' and \'?\'. To access an array value use the index as the key. The dot and wildcard characters can be escaped with \'\\\\\'. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this. + */ + 'dataKey'?: string; + 'dataTemplate'?: string; + /** + * DependencyName refers to the name of the dependency. The event which is stored for this dependency is used as payload for the parameterization. Make sure to refer to one of the dependencies you have defined under Dependencies list. + */ + 'dependencyName'?: string; + /** + * Value is the default literal value to use for this parameter source This is only used if the DataKey is invalid. If the DataKey is invalid and this is not defined, this param source will produce an error. + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "contextKey", + "baseName": "contextKey", + "type": "string", + "format": "" + }, + { + "name": "contextTemplate", + "baseName": "contextTemplate", + "type": "string", + "format": "" + }, + { + "name": "dataKey", + "baseName": "dataKey", + "type": "string", + "format": "" + }, + { + "name": "dataTemplate", + "baseName": "dataTemplate", + "type": "string", + "format": "" + }, + { + "name": "dependencyName", + "baseName": "dependencyName", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts new file mode 100644 index 0000000..b5682bf --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1TriggerPolicy { + 'k8s'?: IoArgoprojEventsV1alpha1K8SResourcePolicy; + 'status'?: IoArgoprojEventsV1alpha1StatusPolicy; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "k8s", + "baseName": "k8s", + "type": "IoArgoprojEventsV1alpha1K8SResourcePolicy", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojEventsV1alpha1StatusPolicy", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts new file mode 100644 index 0000000..05aca5f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts @@ -0,0 +1,152 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* TriggerTemplate is the template that describes trigger specification. +*/ +export class IoArgoprojEventsV1alpha1TriggerTemplate { + 'argoWorkflow'?: IoArgoprojEventsV1alpha1ArgoWorkflowTrigger; + 'awsLambda'?: IoArgoprojEventsV1alpha1AWSLambdaTrigger; + 'azureEventHubs'?: IoArgoprojEventsV1alpha1AzureEventHubsTrigger; + 'conditions'?: string; + 'conditionsReset'?: Array; + 'custom'?: IoArgoprojEventsV1alpha1CustomTrigger; + 'http'?: IoArgoprojEventsV1alpha1HTTPTrigger; + 'k8s'?: IoArgoprojEventsV1alpha1StandardK8STrigger; + 'kafka'?: IoArgoprojEventsV1alpha1KafkaTrigger; + 'log'?: IoArgoprojEventsV1alpha1LogTrigger; + /** + * Name is a unique name of the action to take. + */ + 'name'?: string; + 'nats'?: IoArgoprojEventsV1alpha1NATSTrigger; + 'openWhisk'?: IoArgoprojEventsV1alpha1OpenWhiskTrigger; + 'pulsar'?: IoArgoprojEventsV1alpha1PulsarTrigger; + 'slack'?: IoArgoprojEventsV1alpha1SlackTrigger; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "argoWorkflow", + "baseName": "argoWorkflow", + "type": "IoArgoprojEventsV1alpha1ArgoWorkflowTrigger", + "format": "" + }, + { + "name": "awsLambda", + "baseName": "awsLambda", + "type": "IoArgoprojEventsV1alpha1AWSLambdaTrigger", + "format": "" + }, + { + "name": "azureEventHubs", + "baseName": "azureEventHubs", + "type": "IoArgoprojEventsV1alpha1AzureEventHubsTrigger", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "string", + "format": "" + }, + { + "name": "conditionsReset", + "baseName": "conditionsReset", + "type": "Array", + "format": "" + }, + { + "name": "custom", + "baseName": "custom", + "type": "IoArgoprojEventsV1alpha1CustomTrigger", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojEventsV1alpha1HTTPTrigger", + "format": "" + }, + { + "name": "k8s", + "baseName": "k8s", + "type": "IoArgoprojEventsV1alpha1StandardK8STrigger", + "format": "" + }, + { + "name": "kafka", + "baseName": "kafka", + "type": "IoArgoprojEventsV1alpha1KafkaTrigger", + "format": "" + }, + { + "name": "log", + "baseName": "log", + "type": "IoArgoprojEventsV1alpha1LogTrigger", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nats", + "baseName": "nats", + "type": "IoArgoprojEventsV1alpha1NATSTrigger", + "format": "" + }, + { + "name": "openWhisk", + "baseName": "openWhisk", + "type": "IoArgoprojEventsV1alpha1OpenWhiskTrigger", + "format": "" + }, + { + "name": "pulsar", + "baseName": "pulsar", + "type": "IoArgoprojEventsV1alpha1PulsarTrigger", + "format": "" + }, + { + "name": "slack", + "baseName": "slack", + "type": "IoArgoprojEventsV1alpha1SlackTrigger", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1URLArtifact.ts new file mode 100644 index 0000000..a374a56 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1URLArtifact.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* URLArtifact contains information about an artifact at an http endpoint. +*/ +export class IoArgoprojEventsV1alpha1URLArtifact { + 'path'?: string; + 'verifyCert'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "verifyCert", + "baseName": "verifyCert", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1ValueFromSource.ts new file mode 100644 index 0000000..32c2cce --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ValueFromSource.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1ValueFromSource { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts new file mode 100644 index 0000000..b343cd9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WatchPathConfig { + 'directory'?: string; + 'path'?: string; + 'pathRegexp'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "directory", + "baseName": "directory", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "pathRegexp", + "baseName": "pathRegexp", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1WebhookContext.ts new file mode 100644 index 0000000..675e097 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookContext.ts @@ -0,0 +1,98 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WebhookContext { + 'authSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'endpoint'?: string; + 'maxPayloadSize'?: string; + 'metadata'?: { [key: string]: string; }; + 'method'?: string; + /** + * Port on which HTTP server is listening for incoming events. + */ + 'port'?: string; + 'serverCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'serverKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * URL is the url of the server. + */ + 'url'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authSecret", + "baseName": "authSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "maxPayloadSize", + "baseName": "maxPayloadSize", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + }, + { + "name": "serverCertSecret", + "baseName": "serverCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "serverKeySecret", + "baseName": "serverKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts new file mode 100644 index 0000000..30440c4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojEventsV1alpha1WebhookEventSource { + 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; + 'webhookContext'?: IoArgoprojEventsV1alpha1WebhookContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "filter", + "baseName": "filter", + "type": "IoArgoprojEventsV1alpha1EventSourceFilter", + "format": "" + }, + { + "name": "webhookContext", + "baseName": "webhookContext", + "type": "IoArgoprojEventsV1alpha1WebhookContext", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts new file mode 100644 index 0000000..feb9ca2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { HttpFile } from '../http/http'; + +/** +* ArchiveStrategy describes how to archive files/directory when saving artifacts +*/ +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; + 'tar'?: IoArgoprojWorkflowV1alpha1TarStrategy; + /** + * ZipStrategy will unzip zipped input artifacts + */ + 'zip'?: any; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "none", + "baseName": "none", + "type": "any", + "format": "" + }, + { + "name": "tar", + "baseName": "tar", + "type": "IoArgoprojWorkflowV1alpha1TarStrategy", + "format": "" + }, + { + "name": "zip", + "baseName": "zip", + "type": "any", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Arguments.ts new file mode 100644 index 0000000..b77b23e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Arguments.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Arguments to a template +*/ +export class IoArgoprojWorkflowV1alpha1Arguments { + /** + * Artifacts is the list of artifacts to pass to the template or workflow + */ + 'artifacts'?: Array; + /** + * Parameters is the list of parameters to pass to the template or workflow + */ + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts new file mode 100644 index 0000000..21446a4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ArtGCStatus maintains state related to ArtifactGC +*/ +export class IoArgoprojWorkflowV1alpha1ArtGCStatus { + /** + * if this is true, we already checked to see if we need to do it and we don\'t + */ + 'notSpecified'?: boolean; + /** + * have completed Pods been processed? (mapped by Pod name) used to prevent re-processing the Status of a Pod more than once + */ + 'podsRecouped'?: { [key: string]: boolean; }; + /** + * have Pods been started to perform this strategy? (enables us not to re-process what we\'ve already done) + */ + 'strategiesProcessed'?: { [key: string]: boolean; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "notSpecified", + "baseName": "notSpecified", + "type": "boolean", + "format": "" + }, + { + "name": "podsRecouped", + "baseName": "podsRecouped", + "type": "{ [key: string]: boolean; }", + "format": "" + }, + { + "name": "strategiesProcessed", + "baseName": "strategiesProcessed", + "type": "{ [key: string]: boolean; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Artifact.ts new file mode 100644 index 0000000..84edbfc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Artifact.ts @@ -0,0 +1,229 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Artifact indicates an artifact to place at a specified path +*/ +export class IoArgoprojWorkflowV1alpha1Artifact { + 'archive'?: IoArgoprojWorkflowV1alpha1ArchiveStrategy; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1ArtifactGC; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + /** + * Has this been deleted? + */ + 'deleted'?: boolean; + /** + * From allows an artifact to reference an artifact from a previous step + */ + '_from'?: string; + /** + * FromExpression, if defined, is evaluated to specify the value for the artifact + */ + 'fromExpression'?: string; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + /** + * 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 + */ + 'globalName'?: string; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + /** + * mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts. + */ + 'mode'?: number; + /** + * name of the artifact. must be unique within a template\'s inputs/outputs. + */ + 'name': string; + /** + * Make Artifacts optional, if Artifacts doesn\'t generate or exist + */ + 'optional'?: boolean; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + /** + * Path is the container path to the artifact + */ + 'path'?: string; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + /** + * If mode is set, apply the permission recursively into the artifact if it is a folder + */ + 'recurseMode'?: boolean; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + /** + * SubPath allows an artifact to be sourced from a subpath within the specified source + */ + 'subPath'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archive", + "baseName": "archive", + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "deleted", + "baseName": "deleted", + "type": "boolean", + "format": "" + }, + { + "name": "_from", + "baseName": "from", + "type": "string", + "format": "" + }, + { + "name": "fromExpression", + "baseName": "fromExpression", + "type": "string", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "recurseMode", + "baseName": "recurseMode", + "type": "boolean", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts new file mode 100644 index 0000000..af0b99c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { HttpFile } from '../http/http'; + +/** +* 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 +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGC { + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion + */ + 'serviceAccountName'?: string; + /** + * Strategy is the strategy to use. + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts new file mode 100644 index 0000000..20eef75 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactGCSpec specifies the Artifacts that need to be deleted +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGCSpec { + /** + * ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node + */ + 'artifactsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactsByNode", + "baseName": "artifactsByNode", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts new file mode 100644 index 0000000..0a555b2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactGCStatus describes the result of the deletion +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactGCStatus { + /** + * ArtifactResultsByNode maps Node name to result + */ + 'artifactResultsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactResultsByNode", + "baseName": "artifactResultsByNode", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts new file mode 100644 index 0000000..1136aae --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts @@ -0,0 +1,113 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactLocation { + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts new file mode 100644 index 0000000..efbec46 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactNodeSpec { + 'archiveLocation'?: IoArgoprojWorkflowV1alpha1ArtifactLocation; + /** + * Artifacts maps artifact name to Artifact description + */ + 'artifacts'?: { [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLocation", + "baseName": "archiveLocation", + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", + "format": "" + }, + { + "name": "artifacts", + "baseName": "artifacts", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts new file mode 100644 index 0000000..95c9a5d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts @@ -0,0 +1,229 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ArtifactPaths expands a step from a collection of artifacts +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactPaths { + 'archive'?: IoArgoprojWorkflowV1alpha1ArchiveStrategy; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1ArtifactGC; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifact; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifact; + /** + * Has this been deleted? + */ + 'deleted'?: boolean; + /** + * From allows an artifact to reference an artifact from a previous step + */ + '_from'?: string; + /** + * FromExpression, if defined, is evaluated to specify the value for the artifact + */ + 'fromExpression'?: string; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifact; + 'git'?: IoArgoprojWorkflowV1alpha1GitArtifact; + /** + * 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 + */ + 'globalName'?: string; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifact; + 'http'?: IoArgoprojWorkflowV1alpha1HTTPArtifact; + /** + * mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts. + */ + 'mode'?: number; + /** + * name of the artifact. must be unique within a template\'s inputs/outputs. + */ + 'name': string; + /** + * Make Artifacts optional, if Artifacts doesn\'t generate or exist + */ + 'optional'?: boolean; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifact; + /** + * Path is the container path to the artifact + */ + 'path'?: string; + 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; + /** + * If mode is set, apply the permission recursively into the artifact if it is a folder + */ + 'recurseMode'?: boolean; + 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; + /** + * SubPath allows an artifact to be sourced from a subpath within the specified source + */ + 'subPath'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archive", + "baseName": "archive", + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", + "format": "" + }, + { + "name": "deleted", + "baseName": "deleted", + "type": "boolean", + "format": "" + }, + { + "name": "_from", + "baseName": "from", + "type": "string", + "format": "" + }, + { + "name": "fromExpression", + "baseName": "fromExpression", + "type": "string", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", + "format": "" + }, + { + "name": "git", + "baseName": "git", + "type": "IoArgoprojWorkflowV1alpha1GitArtifact", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "raw", + "baseName": "raw", + "type": "IoArgoprojWorkflowV1alpha1RawArtifact", + "format": "" + }, + { + "name": "recurseMode", + "baseName": "recurseMode", + "type": "boolean", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3Artifact", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts new file mode 100644 index 0000000..fa40dab --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts @@ -0,0 +1,89 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ArtifactRepository represents an artifact repository in which a controller will store its artifacts +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactRepository { + /** + * ArchiveLogs enables log archiving + */ + 'archiveLogs'?: boolean; + 'artifactory'?: IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository; + 'azure'?: IoArgoprojWorkflowV1alpha1AzureArtifactRepository; + 'gcs'?: IoArgoprojWorkflowV1alpha1GCSArtifactRepository; + 'hdfs'?: IoArgoprojWorkflowV1alpha1HDFSArtifactRepository; + 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifactRepository; + 's3'?: IoArgoprojWorkflowV1alpha1S3ArtifactRepository; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "artifactory", + "baseName": "artifactory", + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository", + "format": "" + }, + { + "name": "azure", + "baseName": "azure", + "type": "IoArgoprojWorkflowV1alpha1AzureArtifactRepository", + "format": "" + }, + { + "name": "gcs", + "baseName": "gcs", + "type": "IoArgoprojWorkflowV1alpha1GCSArtifactRepository", + "format": "" + }, + { + "name": "hdfs", + "baseName": "hdfs", + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository", + "format": "" + }, + { + "name": "oss", + "baseName": "oss", + "type": "IoArgoprojWorkflowV1alpha1OSSArtifactRepository", + "format": "" + }, + { + "name": "s3", + "baseName": "s3", + "type": "IoArgoprojWorkflowV1alpha1S3ArtifactRepository", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts new file mode 100644 index 0000000..5febfd7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef { + /** + * The name of the config map. Defaults to \"artifact-repositories\". + */ + 'configMap'?: string; + /** + * The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation. + */ + 'key'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts new file mode 100644 index 0000000..a12ae08 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts @@ -0,0 +1,76 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus { + 'artifactRepository'?: IoArgoprojWorkflowV1alpha1ArtifactRepository; + /** + * The name of the config map. Defaults to \"artifact-repositories\". + */ + 'configMap'?: string; + /** + * If this ref represents the default artifact repository, rather than a config map. + */ + '_default'?: boolean; + /** + * The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation. + */ + 'key'?: string; + /** + * The namespace of the config map. Defaults to the workflow\'s namespace, or the controller\'s namespace (if found). + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactRepository", + "baseName": "artifactRepository", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepository", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "string", + "format": "" + }, + { + "name": "_default", + "baseName": "default", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts new file mode 100644 index 0000000..d7526be --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ArtifactResult describes the result of attempting to delete a given Artifact +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactResult { + /** + * Error is an optional error message which should be set if Success==false + */ + 'error'?: string; + /** + * Name is the name of the Artifact + */ + 'name': string; + /** + * Success describes whether the deletion succeeded + */ + 'success'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "success", + "baseName": "success", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts new file mode 100644 index 0000000..b5bdc36 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactResultNodeStatus describes the result of the deletion on a given node +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus { + /** + * ArtifactResults maps Artifact name to result of the deletion + */ + 'artifactResults'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactResults", + "baseName": "artifactResults", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts new file mode 100644 index 0000000..cb19d2b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactoryArtifact is the location of an artifactory artifact +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifact { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * URL of the artifact + */ + 'url': string; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts new file mode 100644 index 0000000..e89ea4d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ArtifactoryArtifactRepository defines the controller configuration for an artifactory artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * RepoURL is the url for artifactory repo. + */ + 'repoURL'?: string; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "repoURL", + "baseName": "repoURL", + "type": "string", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts new file mode 100644 index 0000000..6f338a3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* AzureArtifact is the location of a an Azure Storage artifact +*/ +export class IoArgoprojWorkflowV1alpha1AzureArtifact { + 'accountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Blob is the blob name (i.e., path) in the container where the artifact resides + */ + 'blob': string; + /** + * Container is the container where resources will be stored + */ + 'container': string; + /** + * Endpoint is the service url associated with an account. It is most likely \"https://.blob.core.windows.net\" + */ + 'endpoint': string; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accountKeySecret", + "baseName": "accountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "blob", + "baseName": "blob", + "type": "string", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "string", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts new file mode 100644 index 0000000..d2e6964 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* AzureArtifactRepository defines the controller configuration for an Azure Blob Storage artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1AzureArtifactRepository { + 'accountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * BlobNameFormat is defines the format of how to store blob names. Can reference workflow variables + */ + 'blobNameFormat'?: string; + /** + * Container is the container where resources will be stored + */ + 'container': string; + /** + * Endpoint is the service url associated with an account. It is most likely \"https://.blob.core.windows.net\" + */ + 'endpoint': string; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accountKeySecret", + "baseName": "accountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "blobNameFormat", + "baseName": "blobNameFormat", + "type": "string", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "string", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Backoff.ts new file mode 100644 index 0000000..a73dc54 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Backoff.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Backoff is a backoff strategy to use within retryStrategy +*/ +export class IoArgoprojWorkflowV1alpha1Backoff { + /** + * Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\") + */ + 'duration'?: string; + 'factor'?: string; + /** + * MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy + */ + 'maxDuration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + }, + { + "name": "factor", + "baseName": "factor", + "type": "string", + "format": "" + }, + { + "name": "maxDuration", + "baseName": "maxDuration", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts new file mode 100644 index 0000000..6282daf --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* BasicAuth describes the secret selectors required for basic authentication +*/ +export class IoArgoprojWorkflowV1alpha1BasicAuth { + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Cache.ts new file mode 100644 index 0000000..5439d9f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Cache.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* Cache is the configuration for the type of cache to be used +*/ +export class IoArgoprojWorkflowV1alpha1Cache { + 'configMap': IoK8sApiCoreV1ConfigMapKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts new file mode 100644 index 0000000..f01adfc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ClientCertAuth holds necessary information for client authentication via certificates +*/ +export class IoArgoprojWorkflowV1alpha1ClientCertAuth { + 'clientCertSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientCertSecret", + "baseName": "clientCertSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientKeySecret", + "baseName": "clientKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts new file mode 100644 index 0000000..72376a2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* ClusterWorkflowTemplate is the definition of a workflow template resource in cluster scope +*/ +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts new file mode 100644 index 0000000..842d64c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts new file mode 100644 index 0000000..a6eb22d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts new file mode 100644 index 0000000..758775d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* ClusterWorkflowTemplateList is list of ClusterWorkflowTemplate resources +*/ +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts new file mode 100644 index 0000000..f4bc4d6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest { + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts new file mode 100644 index 0000000..58b35ed --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CollectEventRequest { + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Column.ts new file mode 100644 index 0000000..0895d8a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Column.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Column is a custom column that will be exposed in the Workflow List View. +*/ +export class IoArgoprojWorkflowV1alpha1Column { + /** + * The key of the label or annotation, e.g., \"workflows.argoproj.io/completed\". + */ + 'key': string; + /** + * The name of this column, e.g., \"Workflow Completed\". + */ + 'name': string; + /** + * The type of this column, \"label\" or \"annotation\". + */ + 'type': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Condition.ts new file mode 100644 index 0000000..1e8ed57 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Condition.ts @@ -0,0 +1,58 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Condition { + /** + * Message is the condition message + */ + 'message'?: string; + /** + * Status is the status of the condition + */ + 'status'?: string; + /** + * Type is the type of condition + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts new file mode 100644 index 0000000..8c880b3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts @@ -0,0 +1,246 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1ContainerNode { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + 'dependencies'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image'?: string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name': string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts new file mode 100644 index 0000000..bd68fa4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy { + /** + * 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\". + */ + 'duration'?: string; + 'retries': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + }, + { + "name": "retries", + "baseName": "retries", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts new file mode 100644 index 0000000..4530211 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1ContainerSetTemplate { + 'containers': Array; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy; + 'volumeMounts'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containers", + "baseName": "containers", + "type": "Array", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts new file mode 100644 index 0000000..48286a2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoArgoprojWorkflowV1alpha1ContinueOn { + 'error'?: boolean; + 'failed'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "boolean", + "format": "" + }, + { + "name": "failed", + "baseName": "failed", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Counter.ts new file mode 100644 index 0000000..140e5e6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Counter.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Counter is a Counter prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Counter { + /** + * Value is the value of the metric + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts new file mode 100644 index 0000000..76208dd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts new file mode 100644 index 0000000..b1e8caa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CreateS3BucketOptions options used to determine automatic automatic bucket-creation process +*/ +export class IoArgoprojWorkflowV1alpha1CreateS3BucketOptions { + /** + * ObjectLocking Enable object locking + */ + 'objectLocking'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "objectLocking", + "baseName": "objectLocking", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts new file mode 100644 index 0000000..d3d1587 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* CronWorkflow is the definition of a scheduled workflow resource +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflow { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1CronWorkflowSpec; + 'status'?: IoArgoprojWorkflowV1alpha1CronWorkflowStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowStatus", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts new file mode 100644 index 0000000..2b00b0f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowList is list of CronWorkflow resources +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts new file mode 100644 index 0000000..0f5737a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts new file mode 100644 index 0000000..b947e45 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts @@ -0,0 +1,117 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowSpec is the specification of a CronWorkflow +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowSpec { + /** + * ConcurrencyPolicy is the K8s-style concurrency policy that will be used + */ + 'concurrencyPolicy'?: string; + /** + * FailedJobsHistoryLimit is the number of failed jobs to be kept at a time + */ + 'failedJobsHistoryLimit'?: number; + /** + * Schedule is a schedule to run the Workflow in Cron format + */ + 'schedule': string; + /** + * 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. + */ + 'startingDeadlineSeconds'?: number; + /** + * SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time + */ + 'successfulJobsHistoryLimit'?: number; + /** + * Suspend is a flag that will stop new CronWorkflows from running if set to true + */ + 'suspend'?: boolean; + /** + * Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine\'s local time. + */ + 'timezone'?: string; + 'workflowMetadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'workflowSpec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "concurrencyPolicy", + "baseName": "concurrencyPolicy", + "type": "string", + "format": "" + }, + { + "name": "failedJobsHistoryLimit", + "baseName": "failedJobsHistoryLimit", + "type": "number", + "format": "" + }, + { + "name": "schedule", + "baseName": "schedule", + "type": "string", + "format": "" + }, + { + "name": "startingDeadlineSeconds", + "baseName": "startingDeadlineSeconds", + "type": "number", + "format": "" + }, + { + "name": "successfulJobsHistoryLimit", + "baseName": "successfulJobsHistoryLimit", + "type": "number", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "boolean", + "format": "" + }, + { + "name": "timezone", + "baseName": "timezone", + "type": "string", + "format": "" + }, + { + "name": "workflowMetadata", + "baseName": "workflowMetadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "workflowSpec", + "baseName": "workflowSpec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts new file mode 100644 index 0000000..f69bf1d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* CronWorkflowStatus is the status of a CronWorkflow +*/ +export class IoArgoprojWorkflowV1alpha1CronWorkflowStatus { + /** + * Active is a list of active workflows stemming from this CronWorkflow + */ + 'active': Array; + /** + * Conditions is a list of conditions the CronWorkflow may have + */ + 'conditions': Array; + /** + * 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. + */ + 'lastScheduledTime': Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "active", + "baseName": "active", + "type": "Array", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "lastScheduledTime", + "baseName": "lastScheduledTime", + "type": "Date", + "format": "date-time" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts new file mode 100644 index 0000000..ec9d2f2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1DAGTask.ts new file mode 100644 index 0000000..d46ea75 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTask.ts @@ -0,0 +1,162 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* DAGTask represents a node in the graph during DAG execution +*/ +export class IoArgoprojWorkflowV1alpha1DAGTask { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'continueOn'?: IoArgoprojWorkflowV1alpha1ContinueOn; + /** + * Dependencies are name of other targets which this depends on + */ + 'dependencies'?: Array; + /** + * Depends are name of other targets which this depends on + */ + 'depends'?: string; + /** + * Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'inline'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Name is the name of the target + */ + 'name': string; + /** + * 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. + */ + 'onExit'?: string; + /** + * Name of template to execute + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * When is an expression in which the task should conditionally execute + */ + 'when'?: string; + /** + * WithItems expands a task into multiple parallel tasks from the items in the list + */ + '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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "continueOn", + "baseName": "continueOn", + "type": "IoArgoprojWorkflowV1alpha1ContinueOn", + "format": "" + }, + { + "name": "dependencies", + "baseName": "dependencies", + "type": "Array", + "format": "" + }, + { + "name": "depends", + "baseName": "depends", + "type": "string", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + }, + { + "name": "withItems", + "baseName": "withItems", + "type": "Array", + "format": "" + }, + { + "name": "withParam", + "baseName": "withParam", + "type": "string", + "format": "" + }, + { + "name": "withSequence", + "baseName": "withSequence", + "type": "IoArgoprojWorkflowV1alpha1Sequence", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts new file mode 100644 index 0000000..2039496 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { HttpFile } from '../http/http'; + +/** +* DAGTemplate is a template subtype for directed acyclic graph templates +*/ +export class IoArgoprojWorkflowV1alpha1DAGTemplate { + /** + * 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 + */ + 'failFast'?: boolean; + /** + * Target are one or more names of targets to execute in a DAG + */ + 'target'?: string; + /** + * Tasks are a list of DAG tasks + */ + 'tasks': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "failFast", + "baseName": "failFast", + "type": "boolean", + "format": "" + }, + { + "name": "target", + "baseName": "target", + "type": "string", + "format": "" + }, + { + "name": "tasks", + "baseName": "tasks", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Data.ts new file mode 100644 index 0000000..427a431 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Data.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { HttpFile } from '../http/http'; + +/** +* Data is a data template +*/ +export class IoArgoprojWorkflowV1alpha1Data { + 'source': IoArgoprojWorkflowV1alpha1DataSource; + /** + * Transformation applies a set of transformations + */ + 'transformation': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "source", + "baseName": "source", + "type": "IoArgoprojWorkflowV1alpha1DataSource", + "format": "" + }, + { + "name": "transformation", + "baseName": "transformation", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1DataSource.ts new file mode 100644 index 0000000..5372236 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DataSource.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { HttpFile } from '../http/http'; + +/** +* DataSource sources external data into a data template +*/ +export class IoArgoprojWorkflowV1alpha1DataSource { + 'artifactPaths'?: IoArgoprojWorkflowV1alpha1ArtifactPaths; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactPaths", + "baseName": "artifactPaths", + "type": "IoArgoprojWorkflowV1alpha1ArtifactPaths", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Event.ts new file mode 100644 index 0000000..99844d4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Event.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Event { + /** + * Selector (https://github.com/antonmedv/expr) that we must must match the io.argoproj.workflow.v1alpha1. E.g. `payload.message == \"test\"` + */ + 'selector': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "selector", + "baseName": "selector", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts new file mode 100644 index 0000000..3a22bbc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ExecutorConfig holds configurations of an executor container. +*/ +export class IoArgoprojWorkflowV1alpha1ExecutorConfig { + /** + * ServiceAccountName specifies the service account name of the executor container. + */ + 'serviceAccountName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts new file mode 100644 index 0000000..920cd7d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GCSArtifact is the location of a GCS artifact +*/ +export class IoArgoprojWorkflowV1alpha1GCSArtifact { + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * Key is the path in the bucket where the artifact resides + */ + 'key': string; + 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountKeySecret", + "baseName": "serviceAccountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts new file mode 100644 index 0000000..85f4fee --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GCSArtifactRepository defines the controller configuration for a GCS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1GCSArtifactRepository { + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountKeySecret", + "baseName": "serviceAccountKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Gauge.ts new file mode 100644 index 0000000..1b57e41 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Gauge.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Gauge is a Gauge prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Gauge { + /** + * Operation defines the operation to apply with value and the metrics\' current value + */ + 'operation'?: string; + /** + * Realtime emits this metric in real time if applicable + */ + 'realtime': boolean; + /** + * 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 + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "realtime", + "baseName": "realtime", + "type": "boolean", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts new file mode 100644 index 0000000..1b46710 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1GetUserInfoResponse { + 'email'?: string; + 'emailVerified'?: boolean; + 'groups'?: Array; + 'issuer'?: string; + 'name'?: string; + 'serviceAccountName'?: string; + 'serviceAccountNamespace'?: string; + 'subject'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, + { + "name": "emailVerified", + "baseName": "emailVerified", + "type": "boolean", + "format": "" + }, + { + "name": "groups", + "baseName": "groups", + "type": "Array", + "format": "" + }, + { + "name": "issuer", + "baseName": "issuer", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "serviceAccountNamespace", + "baseName": "serviceAccountNamespace", + "type": "string", + "format": "" + }, + { + "name": "subject", + "baseName": "subject", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts new file mode 100644 index 0000000..1078fca --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts @@ -0,0 +1,133 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* GitArtifact is the location of an git artifact +*/ +export class IoArgoprojWorkflowV1alpha1GitArtifact { + /** + * Branch is the branch to fetch when `SingleBranch` is enabled + */ + 'branch'?: string; + /** + * Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip + */ + 'depth'?: number; + /** + * DisableSubmodules disables submodules during git clone + */ + 'disableSubmodules'?: boolean; + /** + * Fetch specifies a number of refs that should be fetched before checkout + */ + 'fetch'?: Array; + /** + * InsecureIgnoreHostKey disables SSH strict host key checking during git clone + */ + 'insecureIgnoreHostKey'?: boolean; + 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Repo is the git repository + */ + 'repo': string; + /** + * Revision is the git commit, tag, branch to checkout + */ + 'revision'?: string; + /** + * SingleBranch enables single branch clone, using the `branch` parameter + */ + 'singleBranch'?: boolean; + 'sshPrivateKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "branch", + "baseName": "branch", + "type": "string", + "format": "" + }, + { + "name": "depth", + "baseName": "depth", + "type": "number", + "format": "" + }, + { + "name": "disableSubmodules", + "baseName": "disableSubmodules", + "type": "boolean", + "format": "" + }, + { + "name": "fetch", + "baseName": "fetch", + "type": "Array", + "format": "" + }, + { + "name": "insecureIgnoreHostKey", + "baseName": "insecureIgnoreHostKey", + "type": "boolean", + "format": "" + }, + { + "name": "passwordSecret", + "baseName": "passwordSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "repo", + "baseName": "repo", + "type": "string", + "format": "" + }, + { + "name": "revision", + "baseName": "revision", + "type": "string", + "format": "" + }, + { + "name": "singleBranch", + "baseName": "singleBranch", + "type": "boolean", + "format": "" + }, + { + "name": "sshPrivateKeySecret", + "baseName": "sshPrivateKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "usernameSecret", + "baseName": "usernameSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts new file mode 100644 index 0000000..8e36ae9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* HDFSArtifact is the location of an HDFS artifact +*/ +export class IoArgoprojWorkflowV1alpha1HDFSArtifact { + /** + * Addresses is accessible addresses of HDFS name nodes + */ + 'addresses'?: Array; + /** + * Force copies a file forcibly even if it exists + */ + 'force'?: boolean; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + /** + * Path is a file path in HDFS + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "force", + "baseName": "force", + "type": "boolean", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts new file mode 100644 index 0000000..2de0d2e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts @@ -0,0 +1,124 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* HDFSArtifactRepository defines the controller configuration for an HDFS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1HDFSArtifactRepository { + /** + * Addresses is accessible addresses of HDFS name nodes + */ + 'addresses'?: Array; + /** + * Force copies a file forcibly even if it exists + */ + 'force'?: boolean; + /** + * HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. + */ + 'hdfsUser'?: string; + 'krbCCacheSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'krbConfigConfigMap'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'krbKeytabSecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. + */ + 'krbRealm'?: string; + /** + * KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. + */ + 'krbServicePrincipalName'?: string; + /** + * KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. + */ + 'krbUsername'?: string; + /** + * PathFormat is defines the format of path to store a file. Can reference workflow variables + */ + 'pathFormat'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "addresses", + "baseName": "addresses", + "type": "Array", + "format": "" + }, + { + "name": "force", + "baseName": "force", + "type": "boolean", + "format": "" + }, + { + "name": "hdfsUser", + "baseName": "hdfsUser", + "type": "string", + "format": "" + }, + { + "name": "krbCCacheSecret", + "baseName": "krbCCacheSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbConfigConfigMap", + "baseName": "krbConfigConfigMap", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "krbKeytabSecret", + "baseName": "krbKeytabSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "krbRealm", + "baseName": "krbRealm", + "type": "string", + "format": "" + }, + { + "name": "krbServicePrincipalName", + "baseName": "krbServicePrincipalName", + "type": "string", + "format": "" + }, + { + "name": "krbUsername", + "baseName": "krbUsername", + "type": "string", + "format": "" + }, + { + "name": "pathFormat", + "baseName": "pathFormat", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTP.ts new file mode 100644 index 0000000..145a4be --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTP.ts @@ -0,0 +1,107 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTP { + /** + * Body is content of the HTTP Request + */ + 'body'?: string; + 'bodyFrom'?: IoArgoprojWorkflowV1alpha1HTTPBodySource; + /** + * Headers are an optional list of headers to send with HTTP requests + */ + 'headers'?: Array; + /** + * InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client + */ + 'insecureSkipVerify'?: boolean; + /** + * Method is HTTP methods for HTTP Request + */ + 'method'?: string; + /** + * SuccessCondition is an expression if evaluated to true is considered successful + */ + 'successCondition'?: string; + /** + * TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds + */ + 'timeoutSeconds'?: number; + /** + * URL of the HTTP Request + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "body", + "baseName": "body", + "type": "string", + "format": "" + }, + { + "name": "bodyFrom", + "baseName": "bodyFrom", + "type": "IoArgoprojWorkflowV1alpha1HTTPBodySource", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "Array", + "format": "" + }, + { + "name": "insecureSkipVerify", + "baseName": "insecureSkipVerify", + "type": "boolean", + "format": "" + }, + { + "name": "method", + "baseName": "method", + "type": "string", + "format": "" + }, + { + "name": "successCondition", + "baseName": "successCondition", + "type": "string", + "format": "" + }, + { + "name": "timeoutSeconds", + "baseName": "timeoutSeconds", + "type": "number", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts new file mode 100644 index 0000000..88e0da2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts @@ -0,0 +1,60 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { HttpFile } from '../http/http'; + +/** +* HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container +*/ +export class IoArgoprojWorkflowV1alpha1HTTPArtifact { + 'auth'?: IoArgoprojWorkflowV1alpha1HTTPAuth; + /** + * Headers are an optional list of headers to send with HTTP requests for artifacts + */ + 'headers'?: Array; + /** + * URL of the artifact + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "auth", + "baseName": "auth", + "type": "IoArgoprojWorkflowV1alpha1HTTPAuth", + "format": "" + }, + { + "name": "headers", + "baseName": "headers", + "type": "Array", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts new file mode 100644 index 0000000..bbf736c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1HTTPAuth { + 'basicAuth'?: IoArgoprojWorkflowV1alpha1BasicAuth; + 'clientCert'?: IoArgoprojWorkflowV1alpha1ClientCertAuth; + 'oauth2'?: IoArgoprojWorkflowV1alpha1OAuth2Auth; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basicAuth", + "baseName": "basicAuth", + "type": "IoArgoprojWorkflowV1alpha1BasicAuth", + "format": "" + }, + { + "name": "clientCert", + "baseName": "clientCert", + "type": "IoArgoprojWorkflowV1alpha1ClientCertAuth", + "format": "" + }, + { + "name": "oauth2", + "baseName": "oauth2", + "type": "IoArgoprojWorkflowV1alpha1OAuth2Auth", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts new file mode 100644 index 0000000..ad02c04 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HTTPBodySource contains the source of the HTTP body. +*/ +export class IoArgoprojWorkflowV1alpha1HTTPBodySource { + 'bytes'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bytes", + "baseName": "bytes", + "type": "string", + "format": "byte" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts new file mode 100644 index 0000000..d821ec6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTPHeader { + 'name': string; + 'value'?: string; + 'valueFrom'?: IoArgoprojWorkflowV1alpha1HTTPHeaderSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojWorkflowV1alpha1HTTPHeaderSource", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts new file mode 100644 index 0000000..107330f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1HTTPHeaderSource { + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Header.ts new file mode 100644 index 0000000..e391e67 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Header.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Header indicate a key-value request header to be used when fetching artifacts over HTTP +*/ +export class IoArgoprojWorkflowV1alpha1Header { + /** + * Name is the header name + */ + 'name': string; + /** + * Value is the literal value to use for the header + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Histogram.ts new file mode 100644 index 0000000..9b65283 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Histogram.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Histogram is a Histogram prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1Histogram { + /** + * Buckets is a list of bucket divisors for the histogram + */ + 'buckets': Array; + /** + * Value is the value of the metric + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "buckets", + "baseName": "buckets", + "type": "Array", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts new file mode 100644 index 0000000..3904eda --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts @@ -0,0 +1,65 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1InfoResponse { + 'columns'?: Array; + 'links'?: Array; + 'managedNamespace'?: string; + 'modals'?: { [key: string]: boolean; }; + 'navColor'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "columns", + "baseName": "columns", + "type": "Array", + "format": "" + }, + { + "name": "links", + "baseName": "links", + "type": "Array", + "format": "" + }, + { + "name": "managedNamespace", + "baseName": "managedNamespace", + "type": "string", + "format": "" + }, + { + "name": "modals", + "baseName": "modals", + "type": "{ [key: string]: boolean; }", + "format": "" + }, + { + "name": "navColor", + "baseName": "navColor", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Inputs.ts new file mode 100644 index 0000000..d1a832a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Inputs.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another +*/ +export class IoArgoprojWorkflowV1alpha1Inputs { + /** + * Artifact are a list of artifacts passed as inputs + */ + 'artifacts'?: Array; + /** + * Parameters are a list of parameters passed as inputs + */ + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts new file mode 100644 index 0000000..fe5a6a0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* LabelKeys is list of keys +*/ +export class IoArgoprojWorkflowV1alpha1LabelKeys { + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts new file mode 100644 index 0000000..74498aa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts @@ -0,0 +1,35 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LabelValueFrom { + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LabelValues.ts new file mode 100644 index 0000000..71a75f7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValues.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Labels is list of workflow labels +*/ +export class IoArgoprojWorkflowV1alpha1LabelValues { + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts new file mode 100644 index 0000000..f2634f8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LifecycleHook { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + /** + * 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 + */ + 'expression'?: string; + /** + * Template is the name of the template to execute by the hook + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Link.ts new file mode 100644 index 0000000..1b9a2db --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Link.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A link to another app. +*/ +export class IoArgoprojWorkflowV1alpha1Link { + /** + * The name of the link, E.g. \"Workflow Logs\" or \"Pod Logs\" + */ + 'name': string; + /** + * \"workflow\", \"pod\", \"pod-logs\", \"event-source-logs\", \"sensor-logs\", \"workflow-list\" or \"chat\" + */ + 'scope': string; + /** + * 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}\" + */ + 'url': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "scope", + "baseName": "scope", + "type": "string", + "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts new file mode 100644 index 0000000..c75359a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest { + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1LogEntry.ts new file mode 100644 index 0000000..b0228d6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LogEntry.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1LogEntry { + 'content'?: string; + 'podName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "content", + "baseName": "content", + "type": "string", + "format": "" + }, + { + "name": "podName", + "baseName": "podName", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts new file mode 100644 index 0000000..1392d94 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ManifestFrom { + 'artifact': IoArgoprojWorkflowV1alpha1Artifact; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifact", + "baseName": "artifact", + "type": "IoArgoprojWorkflowV1alpha1Artifact", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts new file mode 100644 index 0000000..a2ee950 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MemoizationStatus is the status of this memoized node +*/ +export class IoArgoprojWorkflowV1alpha1MemoizationStatus { + /** + * Cache is the name of the cache that was used + */ + 'cacheName': string; + /** + * Hit indicates whether this node was created from a cache entry + */ + 'hit': boolean; + /** + * Key is the name of the key used for this node\'s cache + */ + 'key': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cacheName", + "baseName": "cacheName", + "type": "string", + "format": "" + }, + { + "name": "hit", + "baseName": "hit", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Memoize.ts new file mode 100644 index 0000000..3415cbb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Memoize.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { HttpFile } from '../http/http'; + +/** +* Memoization enables caching for the Outputs of the template +*/ +export class IoArgoprojWorkflowV1alpha1Memoize { + 'cache': IoArgoprojWorkflowV1alpha1Cache; + /** + * Key is the key to use as the caching key + */ + 'key': string; + /** + * 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. + */ + 'maxAge': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cache", + "baseName": "cache", + "type": "IoArgoprojWorkflowV1alpha1Cache", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "maxAge", + "baseName": "maxAge", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Metadata.ts new file mode 100644 index 0000000..13ee38f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metadata.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Pod metdata +*/ +export class IoArgoprojWorkflowV1alpha1Metadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts new file mode 100644 index 0000000..1a823b6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts @@ -0,0 +1,45 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MetricLabel is a single label for a prometheus metric +*/ +export class IoArgoprojWorkflowV1alpha1MetricLabel { + 'key': string; + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Metrics.ts new file mode 100644 index 0000000..37836d4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metrics.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { HttpFile } from '../http/http'; + +/** +* Metrics are a list of metrics emitted from a Workflow/Template +*/ +export class IoArgoprojWorkflowV1alpha1Metrics { + /** + * Prometheus is a list of prometheus metrics to be emitted + */ + 'prometheus': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "prometheus", + "baseName": "prometheus", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Mutex.ts new file mode 100644 index 0000000..dce7d40 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Mutex.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Mutex holds Mutex configuration +*/ +export class IoArgoprojWorkflowV1alpha1Mutex { + /** + * name of the mutex + */ + 'name'?: string; + /** + * Namespace is the namespace of the mutex, default: [namespace of workflow] + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts new file mode 100644 index 0000000..e3296f8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* MutexHolding describes the mutex and the object which is holding it. +*/ +export class IoArgoprojWorkflowV1alpha1MutexHolding { + /** + * Holder is a reference to the object which holds the Mutex. Holding Scenario: 1. Current workflow\'s NodeID which is holding the lock. e.g: ${NodeID} Waiting Scenario: 1. Current workflow or other workflow NodeID which is holding the lock. e.g: ${WorkflowName}/${NodeID} + */ + 'holder'?: string; + /** + * Reference for the mutex e.g: ${namespace}/mutex/${mutexName} + */ + 'mutex'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holder", + "baseName": "holder", + "type": "string", + "format": "" + }, + { + "name": "mutex", + "baseName": "mutex", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts new file mode 100644 index 0000000..b0163b7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { HttpFile } from '../http/http'; + +/** +* MutexStatus contains which objects hold mutex locks, and which objects this workflow is waiting on to release locks. +*/ +export class IoArgoprojWorkflowV1alpha1MutexStatus { + /** + * Holding is a list of mutexes and their respective objects that are held by mutex lock for this io.argoproj.workflow.v1alpha1. + */ + 'holding'?: Array; + /** + * Waiting is a list of mutexes and their respective objects this workflow is waiting for. + */ + 'waiting'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holding", + "baseName": "holding", + "type": "Array", + "format": "" + }, + { + "name": "waiting", + "baseName": "waiting", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1NodeResult.ts new file mode 100644 index 0000000..c3ad6a0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeResult.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1NodeResult { + 'message'?: string; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + 'phase'?: string; + 'progress'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts new file mode 100644 index 0000000..2d88d16 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts @@ -0,0 +1,261 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* NodeStatus contains status information about an individual node in the workflow +*/ +export class IoArgoprojWorkflowV1alpha1NodeStatus { + /** + * BoundaryID indicates the node ID of the associated template root node in which this node belongs to + */ + 'boundaryID'?: string; + /** + * Children is a list of child node IDs + */ + 'children'?: Array; + /** + * Daemoned tracks whether or not this node was daemoned and need to be terminated + */ + 'daemoned'?: boolean; + /** + * DisplayName is a human readable representation of the node. Unique within a template boundary + */ + 'displayName'?: string; + /** + * EstimatedDuration in seconds. + */ + 'estimatedDuration'?: number; + /** + * 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. + */ + 'finishedAt'?: Date; + /** + * HostNodeName name of the Kubernetes node on which the Pod is running, if applicable + */ + 'hostNodeName'?: string; + /** + * 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 + */ + 'id': string; + 'inputs'?: IoArgoprojWorkflowV1alpha1Inputs; + 'memoizationStatus'?: IoArgoprojWorkflowV1alpha1MemoizationStatus; + /** + * A human readable message indicating details about why the node is in this condition. + */ + 'message'?: string; + /** + * Name is unique name in the node tree used to generate the node ID + */ + 'name': string; + /** + * 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. In 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. + */ + 'outboundNodes'?: Array; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * 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. + */ + 'phase'?: string; + /** + * PodIP captures the IP of the pod for daemoned steps + */ + 'podIP'?: string; + /** + * Progress to completion + */ + 'progress'?: string; + /** + * ResourcesDuration is indicative, but not accurate, resource duration. This is populated when the nodes completes. + */ + 'resourcesDuration'?: { [key: string]: number; }; + /** + * 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. + */ + 'startedAt'?: Date; + 'synchronizationStatus'?: IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus; + /** + * TemplateName is the template name which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup) + */ + 'templateName'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * TemplateScope is the template scope in which the template of this node was retrieved. + */ + 'templateScope'?: string; + /** + * Type indicates type of node + */ + 'type': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "boundaryID", + "baseName": "boundaryID", + "type": "string", + "format": "" + }, + { + "name": "children", + "baseName": "children", + "type": "Array", + "format": "" + }, + { + "name": "daemoned", + "baseName": "daemoned", + "type": "boolean", + "format": "" + }, + { + "name": "displayName", + "baseName": "displayName", + "type": "string", + "format": "" + }, + { + "name": "estimatedDuration", + "baseName": "estimatedDuration", + "type": "number", + "format": "" + }, + { + "name": "finishedAt", + "baseName": "finishedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "hostNodeName", + "baseName": "hostNodeName", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "inputs", + "baseName": "inputs", + "type": "IoArgoprojWorkflowV1alpha1Inputs", + "format": "" + }, + { + "name": "memoizationStatus", + "baseName": "memoizationStatus", + "type": "IoArgoprojWorkflowV1alpha1MemoizationStatus", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "outboundNodes", + "baseName": "outboundNodes", + "type": "Array", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "podIP", + "baseName": "podIP", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + }, + { + "name": "resourcesDuration", + "baseName": "resourcesDuration", + "type": "{ [key: string]: number; }", + "format": "int64" + }, + { + "name": "startedAt", + "baseName": "startedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "synchronizationStatus", + "baseName": "synchronizationStatus", + "type": "IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus", + "format": "" + }, + { + "name": "templateName", + "baseName": "templateName", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "templateScope", + "baseName": "templateScope", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts new file mode 100644 index 0000000..17017f9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* NodeSynchronizationStatus stores the status of a node +*/ +export class IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus { + /** + * Waiting is the name of the lock that this node is waiting for + */ + 'waiting'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "waiting", + "baseName": "waiting", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts new file mode 100644 index 0000000..41cd302 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OAuth2Auth holds all information for client authentication via OAuth2 tokens +*/ +export class IoArgoprojWorkflowV1alpha1OAuth2Auth { + 'clientIDSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'clientSecretSecret'?: IoK8sApiCoreV1SecretKeySelector; + 'endpointParams'?: Array; + 'scopes'?: Array; + 'tokenURLSecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clientIDSecret", + "baseName": "clientIDSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "clientSecretSecret", + "baseName": "clientSecretSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "endpointParams", + "baseName": "endpointParams", + "type": "Array", + "format": "" + }, + { + "name": "scopes", + "baseName": "scopes", + "type": "Array", + "format": "" + }, + { + "name": "tokenURLSecret", + "baseName": "tokenURLSecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts new file mode 100644 index 0000000..2543fe8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EndpointParam is for requesting optional fields that should be sent in the oauth request +*/ +export class IoArgoprojWorkflowV1alpha1OAuth2EndpointParam { + /** + * Name is the header name + */ + 'key': string; + /** + * Value is the literal value to use for the header + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts new file mode 100644 index 0000000..bd6a014 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OSSArtifact is the location of an Alibaba Cloud OSS artifact +*/ +export class IoArgoprojWorkflowV1alpha1OSSArtifact { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn\'t exist + */ + 'createBucketIfNotPresent'?: boolean; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Key is the path in the bucket where the artifact resides + */ + 'key': string; + 'lifecycleRule'?: IoArgoprojWorkflowV1alpha1OSSLifecycleRule; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * SecurityToken is the user\'s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm + */ + 'securityToken'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "lifecycleRule", + "baseName": "lifecycleRule", + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "securityToken", + "baseName": "securityToken", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts new file mode 100644 index 0000000..2919a7a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts @@ -0,0 +1,104 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* OSSArtifactRepository defines the controller configuration for an OSS artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1OSSArtifactRepository { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + /** + * CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn\'t exist + */ + 'createBucketIfNotPresent'?: boolean; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + 'lifecycleRule'?: IoArgoprojWorkflowV1alpha1OSSLifecycleRule; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * SecurityToken is the user\'s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm + */ + 'securityToken'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "boolean", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "lifecycleRule", + "baseName": "lifecycleRule", + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "securityToken", + "baseName": "securityToken", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts new file mode 100644 index 0000000..a69c5d2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* OSSLifecycleRule specifies how to manage bucket\'s lifecycle +*/ +export class IoArgoprojWorkflowV1alpha1OSSLifecycleRule { + /** + * MarkDeletionAfterDays is the number of days before we delete objects in the bucket + */ + 'markDeletionAfterDays'?: number; + /** + * MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type + */ + 'markInfrequentAccessAfterDays'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "markDeletionAfterDays", + "baseName": "markDeletionAfterDays", + "type": "number", + "format": "" + }, + { + "name": "markInfrequentAccessAfterDays", + "baseName": "markInfrequentAccessAfterDays", + "type": "number", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Outputs.ts new file mode 100644 index 0000000..245e238 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Outputs.ts @@ -0,0 +1,73 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { HttpFile } from '../http/http'; + +/** +* Outputs hold parameters, artifacts, and results from a step +*/ +export class IoArgoprojWorkflowV1alpha1Outputs { + /** + * Artifacts holds the list of output artifacts produced by a step + */ + 'artifacts'?: Array; + /** + * ExitCode holds the exit code of a script template + */ + 'exitCode'?: string; + /** + * Parameters holds the list of output parameters produced by a step + */ + 'parameters'?: Array; + /** + * Result holds the result (stdout) of a script template + */ + 'result'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifacts", + "baseName": "artifacts", + "type": "Array", + "format": "" + }, + { + "name": "exitCode", + "baseName": "exitCode", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Parameter.ts new file mode 100644 index 0000000..01e2c01 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Parameter.ts @@ -0,0 +1,99 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { HttpFile } from '../http/http'; + +/** +* Parameter indicate a passed string parameter to a service template with an optional default value +*/ +export class IoArgoprojWorkflowV1alpha1Parameter { + /** + * Default is the default value to use for an input parameter if a value was not supplied + */ + '_default'?: string; + /** + * Description is the parameter description + */ + 'description'?: string; + /** + * Enum holds a list of string values to choose from, for the actual value of the parameter + */ + '_enum'?: Array; + /** + * 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 + */ + 'globalName'?: string; + /** + * Name is the parameter name + */ + 'name': string; + /** + * 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 + */ + 'value'?: string; + 'valueFrom'?: IoArgoprojWorkflowV1alpha1ValueFrom; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "_default", + "baseName": "default", + "type": "string", + "format": "" + }, + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "_enum", + "baseName": "enum", + "type": "Array", + "format": "" + }, + { + "name": "globalName", + "baseName": "globalName", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoArgoprojWorkflowV1alpha1ValueFrom", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1PodGC.ts new file mode 100644 index 0000000..ae18733 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1PodGC.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* PodGC describes how to delete completed pods as they complete +*/ +export class IoArgoprojWorkflowV1alpha1PodGC { + 'labelSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "labelSelector", + "baseName": "labelSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Prometheus.ts new file mode 100644 index 0000000..f743779 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Prometheus.ts @@ -0,0 +1,96 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Prometheus is a prometheus metric to be emitted +*/ +export class IoArgoprojWorkflowV1alpha1Prometheus { + 'counter'?: IoArgoprojWorkflowV1alpha1Counter; + 'gauge'?: IoArgoprojWorkflowV1alpha1Gauge; + /** + * Help is a string that describes the metric + */ + 'help': string; + 'histogram'?: IoArgoprojWorkflowV1alpha1Histogram; + /** + * Labels is a list of metric labels + */ + 'labels'?: Array; + /** + * Name is the name of the metric + */ + 'name': string; + /** + * When is a conditional statement that decides when to emit the metric + */ + 'when'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "counter", + "baseName": "counter", + "type": "IoArgoprojWorkflowV1alpha1Counter", + "format": "" + }, + { + "name": "gauge", + "baseName": "gauge", + "type": "IoArgoprojWorkflowV1alpha1Gauge", + "format": "" + }, + { + "name": "help", + "baseName": "help", + "type": "string", + "format": "" + }, + { + "name": "histogram", + "baseName": "histogram", + "type": "IoArgoprojWorkflowV1alpha1Histogram", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts new file mode 100644 index 0000000..135c930 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* RawArtifact allows raw string content to be placed as an artifact in a container +*/ +export class IoArgoprojWorkflowV1alpha1RawArtifact { + /** + * Data is the string contents of the artifact + */ + 'data': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts new file mode 100644 index 0000000..284708f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { HttpFile } from '../http/http'; + +/** +* ResourceTemplate is a template subtype to manipulate kubernetes resources +*/ +export class IoArgoprojWorkflowV1alpha1ResourceTemplate { + /** + * Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch + */ + 'action': string; + /** + * FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed + */ + 'failureCondition'?: string; + /** + * Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [ \"--validate=false\" # disable resource validation ] + */ + 'flags'?: Array; + /** + * Manifest contains the kubernetes manifest + */ + 'manifest'?: string; + 'manifestFrom'?: IoArgoprojWorkflowV1alpha1ManifestFrom; + /** + * MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json + */ + 'mergeStrategy'?: string; + /** + * SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. + */ + 'setOwnerReference'?: boolean; + /** + * SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step + */ + 'successCondition'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "action", + "baseName": "action", + "type": "string", + "format": "" + }, + { + "name": "failureCondition", + "baseName": "failureCondition", + "type": "string", + "format": "" + }, + { + "name": "flags", + "baseName": "flags", + "type": "Array", + "format": "" + }, + { + "name": "manifest", + "baseName": "manifest", + "type": "string", + "format": "" + }, + { + "name": "manifestFrom", + "baseName": "manifestFrom", + "type": "IoArgoprojWorkflowV1alpha1ManifestFrom", + "format": "" + }, + { + "name": "mergeStrategy", + "baseName": "mergeStrategy", + "type": "string", + "format": "" + }, + { + "name": "setOwnerReference", + "baseName": "setOwnerReference", + "type": "boolean", + "format": "" + }, + { + "name": "successCondition", + "baseName": "successCondition", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts new file mode 100644 index 0000000..e619a8a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest { + 'memoized'?: boolean; + 'name'?: string; + 'namespace'?: string; + 'parameters'?: Array; + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "memoized", + "baseName": "memoized", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts new file mode 100644 index 0000000..75adb27 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* RetryAffinity prevents running steps on the same host. +*/ +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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeAntiAffinity", + "baseName": "nodeAntiAffinity", + "type": "any", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts new file mode 100644 index 0000000..9eacb51 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'parameters'?: Array; + 'restartSuccessful'?: boolean; + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "restartSuccessful", + "baseName": "restartSuccessful", + "type": "boolean", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts new file mode 100644 index 0000000..e3fbaa4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts @@ -0,0 +1,74 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { HttpFile } from '../http/http'; + +/** +* RetryStrategy provides controls on how to retry a workflow step +*/ +export class IoArgoprojWorkflowV1alpha1RetryStrategy { + 'affinity'?: IoArgoprojWorkflowV1alpha1RetryAffinity; + 'backoff'?: IoArgoprojWorkflowV1alpha1Backoff; + /** + * 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 + */ + 'expression'?: string; + 'limit'?: string; + /** + * RetryPolicy is a policy of NodePhase statuses that will be retried + */ + 'retryPolicy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "affinity", + "baseName": "affinity", + "type": "IoArgoprojWorkflowV1alpha1RetryAffinity", + "format": "" + }, + { + "name": "backoff", + "baseName": "backoff", + "type": "IoArgoprojWorkflowV1alpha1Backoff", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "limit", + "baseName": "limit", + "type": "string", + "format": "" + }, + { + "name": "retryPolicy", + "baseName": "retryPolicy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts new file mode 100644 index 0000000..a17509c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts @@ -0,0 +1,132 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* S3Artifact is the location of an S3 artifact +*/ +export class IoArgoprojWorkflowV1alpha1S3Artifact { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + 'createBucketIfNotPresent'?: IoArgoprojWorkflowV1alpha1CreateS3BucketOptions; + 'encryptionOptions'?: IoArgoprojWorkflowV1alpha1S3EncryptionOptions; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Insecure will connect to the service with TLS + */ + 'insecure'?: boolean; + /** + * Key is the key in the bucket where the artifact resides + */ + 'key'?: string; + /** + * Region contains the optional bucket region + */ + 'region'?: string; + /** + * RoleARN is the Amazon Resource Name (ARN) of the role to assume. + */ + 'roleARN'?: string; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", + "format": "" + }, + { + "name": "encryptionOptions", + "baseName": "encryptionOptions", + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts new file mode 100644 index 0000000..3bbea4a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* S3ArtifactRepository defines the controller configuration for an S3 artifact repository +*/ +export class IoArgoprojWorkflowV1alpha1S3ArtifactRepository { + 'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * Bucket is the name of the bucket + */ + 'bucket'?: string; + 'createBucketIfNotPresent'?: IoArgoprojWorkflowV1alpha1CreateS3BucketOptions; + 'encryptionOptions'?: IoArgoprojWorkflowV1alpha1S3EncryptionOptions; + /** + * Endpoint is the hostname of the bucket endpoint + */ + 'endpoint'?: string; + /** + * Insecure will connect to the service with TLS + */ + 'insecure'?: boolean; + /** + * KeyFormat is defines the format of how to store keys. Can reference workflow variables + */ + 'keyFormat'?: string; + /** + * KeyPrefix is prefix used as part of the bucket key in which the controller will store artifacts. DEPRECATED. Use KeyFormat instead + */ + 'keyPrefix'?: string; + /** + * Region contains the optional bucket region + */ + 'region'?: string; + /** + * RoleARN is the Amazon Resource Name (ARN) of the role to assume. + */ + 'roleARN'?: string; + 'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + /** + * UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + */ + 'useSDKCreds'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessKeySecret", + "baseName": "accessKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "bucket", + "baseName": "bucket", + "type": "string", + "format": "" + }, + { + "name": "createBucketIfNotPresent", + "baseName": "createBucketIfNotPresent", + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", + "format": "" + }, + { + "name": "encryptionOptions", + "baseName": "encryptionOptions", + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", + "format": "" + }, + { + "name": "endpoint", + "baseName": "endpoint", + "type": "string", + "format": "" + }, + { + "name": "insecure", + "baseName": "insecure", + "type": "boolean", + "format": "" + }, + { + "name": "keyFormat", + "baseName": "keyFormat", + "type": "string", + "format": "" + }, + { + "name": "keyPrefix", + "baseName": "keyPrefix", + "type": "string", + "format": "" + }, + { + "name": "region", + "baseName": "region", + "type": "string", + "format": "" + }, + { + "name": "roleARN", + "baseName": "roleARN", + "type": "string", + "format": "" + }, + { + "name": "secretKeySecret", + "baseName": "secretKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + }, + { + "name": "useSDKCreds", + "baseName": "useSDKCreds", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts new file mode 100644 index 0000000..b6c9743 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* S3EncryptionOptions used to determine encryption options during s3 operations +*/ +export class IoArgoprojWorkflowV1alpha1S3EncryptionOptions { + /** + * EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used + */ + 'enableEncryption'?: boolean; + /** + * 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 + */ + 'kmsEncryptionContext'?: string; + /** + * KMSKeyId tells the driver to encrypt the object using the specified KMS Key. + */ + 'kmsKeyId'?: string; + 'serverSideCustomerKeySecret'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "enableEncryption", + "baseName": "enableEncryption", + "type": "boolean", + "format": "" + }, + { + "name": "kmsEncryptionContext", + "baseName": "kmsEncryptionContext", + "type": "string", + "format": "" + }, + { + "name": "kmsKeyId", + "baseName": "kmsKeyId", + "type": "string", + "format": "" + }, + { + "name": "serverSideCustomerKeySecret", + "baseName": "serverSideCustomerKeySecret", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts new file mode 100644 index 0000000..9ee5181 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts @@ -0,0 +1,252 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* ScriptTemplate is a template subtype to enable scripting through code steps +*/ +export class IoArgoprojWorkflowV1alpha1ScriptTemplate { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image': string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name'?: string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + /** + * Source contains the source code of the script to execute + */ + 'source': string; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts new file mode 100644 index 0000000..aefe4e3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1SemaphoreHolding { + /** + * Holders stores the list of current holder names in the io.argoproj.workflow.v1alpha1. + */ + 'holders'?: Array; + /** + * Semaphore stores the semaphore name. + */ + 'semaphore'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holders", + "baseName": "holders", + "type": "Array", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts new file mode 100644 index 0000000..58dd6d6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* SemaphoreRef is a reference of Semaphore +*/ +export class IoArgoprojWorkflowV1alpha1SemaphoreRef { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + /** + * Namespace is the namespace of the configmap, default: [namespace of workflow] + */ + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts new file mode 100644 index 0000000..8714829 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1SemaphoreStatus { + /** + * Holding stores the list of resource acquired synchronization lock for workflows. + */ + 'holding'?: Array; + /** + * Waiting indicates the list of current synchronization lock holders. + */ + 'waiting'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "holding", + "baseName": "holding", + "type": "Array", + "format": "" + }, + { + "name": "waiting", + "baseName": "waiting", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Sequence.ts new file mode 100644 index 0000000..e308e07 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Sequence.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Sequence expands a workflow step into numeric range +*/ +export class IoArgoprojWorkflowV1alpha1Sequence { + 'count'?: string; + 'end'?: string; + /** + * Format is a printf format string to format the value in the sequence + */ + 'format'?: string; + 'start'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "count", + "baseName": "count", + "type": "string", + "format": "" + }, + { + "name": "end", + "baseName": "end", + "type": "string", + "format": "" + }, + { + "name": "format", + "baseName": "format", + "type": "string", + "format": "" + }, + { + "name": "start", + "baseName": "start", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Submit.ts new file mode 100644 index 0000000..3c26139 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Submit.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +export class IoArgoprojWorkflowV1alpha1Submit { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'workflowTemplateRef': IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "workflowTemplateRef", + "baseName": "workflowTemplateRef", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts new file mode 100644 index 0000000..9e82066 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts @@ -0,0 +1,149 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { HttpFile } from '../http/http'; + +/** +* SubmitOpts are workflow submission options +*/ +export class IoArgoprojWorkflowV1alpha1SubmitOpts { + /** + * Annotations adds to metadata.labels + */ + 'annotations'?: string; + /** + * DryRun validates the workflow on the client-side without creating it. This option is not supported in API + */ + 'dryRun'?: boolean; + /** + * Entrypoint overrides spec.entrypoint + */ + 'entryPoint'?: string; + /** + * GenerateName overrides metadata.generateName + */ + 'generateName'?: string; + /** + * Labels adds to metadata.labels + */ + 'labels'?: string; + /** + * Name overrides metadata.name + */ + 'name'?: string; + 'ownerReference'?: IoK8sApimachineryPkgApisMetaV1OwnerReference; + /** + * Parameters passes input parameters to workflow + */ + 'parameters'?: Array; + /** + * Set the podPriorityClassName of the workflow + */ + 'podPriorityClassName'?: string; + /** + * Priority is used if controller is configured to process limited number of workflows in parallel, higher priority workflows are processed first. + */ + 'priority'?: number; + /** + * ServerDryRun validates the workflow on the server-side without creating it + */ + 'serverDryRun'?: boolean; + /** + * ServiceAccount runs all pods in the workflow using specified ServiceAccount. + */ + 'serviceAccount'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "string", + "format": "" + }, + { + "name": "dryRun", + "baseName": "dryRun", + "type": "boolean", + "format": "" + }, + { + "name": "entryPoint", + "baseName": "entryPoint", + "type": "string", + "format": "" + }, + { + "name": "generateName", + "baseName": "generateName", + "type": "string", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ownerReference", + "baseName": "ownerReference", + "type": "IoK8sApimachineryPkgApisMetaV1OwnerReference", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "podPriorityClassName", + "baseName": "podPriorityClassName", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "serverDryRun", + "baseName": "serverDryRun", + "type": "boolean", + "format": "" + }, + { + "name": "serviceAccount", + "baseName": "serviceAccount", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts new file mode 100644 index 0000000..d8dbfe9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time +*/ +export class IoArgoprojWorkflowV1alpha1SuspendTemplate { + /** + * 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\" + */ + 'duration'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "duration", + "baseName": "duration", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Synchronization.ts new file mode 100644 index 0000000..ffee9d3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Synchronization.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { HttpFile } from '../http/http'; + +/** +* Synchronization holds synchronization lock configuration +*/ +export class IoArgoprojWorkflowV1alpha1Synchronization { + 'mutex'?: IoArgoprojWorkflowV1alpha1Mutex; + 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mutex", + "baseName": "mutex", + "type": "IoArgoprojWorkflowV1alpha1Mutex", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "IoArgoprojWorkflowV1alpha1SemaphoreRef", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts new file mode 100644 index 0000000..9b1607a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { HttpFile } from '../http/http'; + +/** +* SynchronizationStatus stores the status of semaphore and mutex. +*/ +export class IoArgoprojWorkflowV1alpha1SynchronizationStatus { + 'mutex'?: IoArgoprojWorkflowV1alpha1MutexStatus; + 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mutex", + "baseName": "mutex", + "type": "IoArgoprojWorkflowV1alpha1MutexStatus", + "format": "" + }, + { + "name": "semaphore", + "baseName": "semaphore", + "type": "IoArgoprojWorkflowV1alpha1SemaphoreStatus", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts new file mode 100644 index 0000000..2ec13d0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed +*/ +export class IoArgoprojWorkflowV1alpha1TTLStrategy { + /** + * SecondsAfterCompletion is the number of seconds to live after completion + */ + 'secondsAfterCompletion'?: number; + /** + * SecondsAfterFailure is the number of seconds to live after failure + */ + 'secondsAfterFailure'?: number; + /** + * SecondsAfterSuccess is the number of seconds to live after success + */ + 'secondsAfterSuccess'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "secondsAfterCompletion", + "baseName": "secondsAfterCompletion", + "type": "number", + "format": "" + }, + { + "name": "secondsAfterFailure", + "baseName": "secondsAfterFailure", + "type": "number", + "format": "" + }, + { + "name": "secondsAfterSuccess", + "baseName": "secondsAfterSuccess", + "type": "number", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts new file mode 100644 index 0000000..6741699 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TarStrategy will tar and gzip the file or directory when saving +*/ +export class IoArgoprojWorkflowV1alpha1TarStrategy { + /** + * CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression. + */ + 'compressionLevel'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "compressionLevel", + "baseName": "compressionLevel", + "type": "number", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Template.ts new file mode 100644 index 0000000..ced1f67 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Template.ts @@ -0,0 +1,385 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Template is a reusable and composable unit of execution in a workflow +*/ +export class IoArgoprojWorkflowV1alpha1Template { + 'activeDeadlineSeconds'?: string; + 'affinity'?: IoK8sApiCoreV1Affinity; + 'archiveLocation'?: IoArgoprojWorkflowV1alpha1ArtifactLocation; + /** + * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. + */ + 'automountServiceAccountToken'?: boolean; + 'container'?: IoK8sApiCoreV1Container; + 'containerSet'?: IoArgoprojWorkflowV1alpha1ContainerSetTemplate; + /** + * Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness + */ + 'daemon'?: boolean; + 'dag'?: IoArgoprojWorkflowV1alpha1DAGTemplate; + 'data'?: IoArgoprojWorkflowV1alpha1Data; + 'executor'?: IoArgoprojWorkflowV1alpha1ExecutorConfig; + /** + * FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this template is expanded with `withItems`, etc. + */ + 'failFast'?: boolean; + /** + * HostAliases is an optional list of hosts and IPs that will be injected into the pod spec + */ + 'hostAliases'?: Array; + 'http'?: IoArgoprojWorkflowV1alpha1HTTP; + /** + * InitContainers is a list of containers which run before the main container. + */ + 'initContainers'?: Array; + 'inputs'?: IoArgoprojWorkflowV1alpha1Inputs; + 'memoize'?: IoArgoprojWorkflowV1alpha1Memoize; + 'metadata'?: IoArgoprojWorkflowV1alpha1Metadata; + 'metrics'?: IoArgoprojWorkflowV1alpha1Metrics; + /** + * Name is the name of the template + */ + 'name'?: string; + /** + * NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level. + */ + 'nodeSelector'?: { [key: string]: string; }; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total. + */ + 'parallelism'?: number; + /** + * Plugin is an Object with exactly one key + */ + 'plugin'?: any; + /** + * PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). + */ + 'podSpecPatch'?: string; + /** + * Priority to apply to workflow pods. + */ + 'priority'?: number; + /** + * PriorityClassName to apply to workflow pods. + */ + 'priorityClassName'?: string; + 'resource'?: IoArgoprojWorkflowV1alpha1ResourceTemplate; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1RetryStrategy; + /** + * If specified, the pod will be dispatched by specified scheduler. Or it will be dispatched by workflow scope scheduler if specified. If neither specified, the pod will be dispatched by default scheduler. + */ + 'schedulerName'?: string; + 'script'?: IoArgoprojWorkflowV1alpha1ScriptTemplate; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + /** + * ServiceAccountName to apply to workflow pods + */ + 'serviceAccountName'?: string; + /** + * Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes + */ + 'sidecars'?: Array; + /** + * Steps define a series of sequential/parallel workflow steps + */ + 'steps'?: Array>; + 'suspend'?: IoArgoprojWorkflowV1alpha1SuspendTemplate; + 'synchronization'?: IoArgoprojWorkflowV1alpha1Synchronization; + /** + * Timeout allows to set the total node execution timeout duration counting from the node\'s start time. This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. + */ + 'timeout'?: string; + /** + * Tolerations to apply to workflow pods. + */ + 'tolerations'?: Array; + /** + * Volumes is a list of volumes that can be mounted by containers in a template. + */ + 'volumes'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "activeDeadlineSeconds", + "baseName": "activeDeadlineSeconds", + "type": "string", + "format": "" + }, + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "archiveLocation", + "baseName": "archiveLocation", + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", + "format": "" + }, + { + "name": "automountServiceAccountToken", + "baseName": "automountServiceAccountToken", + "type": "boolean", + "format": "" + }, + { + "name": "container", + "baseName": "container", + "type": "IoK8sApiCoreV1Container", + "format": "" + }, + { + "name": "containerSet", + "baseName": "containerSet", + "type": "IoArgoprojWorkflowV1alpha1ContainerSetTemplate", + "format": "" + }, + { + "name": "daemon", + "baseName": "daemon", + "type": "boolean", + "format": "" + }, + { + "name": "dag", + "baseName": "dag", + "type": "IoArgoprojWorkflowV1alpha1DAGTemplate", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "IoArgoprojWorkflowV1alpha1Data", + "format": "" + }, + { + "name": "executor", + "baseName": "executor", + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", + "format": "" + }, + { + "name": "failFast", + "baseName": "failFast", + "type": "boolean", + "format": "" + }, + { + "name": "hostAliases", + "baseName": "hostAliases", + "type": "Array", + "format": "" + }, + { + "name": "http", + "baseName": "http", + "type": "IoArgoprojWorkflowV1alpha1HTTP", + "format": "" + }, + { + "name": "initContainers", + "baseName": "initContainers", + "type": "Array", + "format": "" + }, + { + "name": "inputs", + "baseName": "inputs", + "type": "IoArgoprojWorkflowV1alpha1Inputs", + "format": "" + }, + { + "name": "memoize", + "baseName": "memoize", + "type": "IoArgoprojWorkflowV1alpha1Memoize", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "metrics", + "baseName": "metrics", + "type": "IoArgoprojWorkflowV1alpha1Metrics", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "parallelism", + "baseName": "parallelism", + "type": "number", + "format": "" + }, + { + "name": "plugin", + "baseName": "plugin", + "type": "any", + "format": "" + }, + { + "name": "podSpecPatch", + "baseName": "podSpecPatch", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "priorityClassName", + "baseName": "priorityClassName", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "IoArgoprojWorkflowV1alpha1ResourceTemplate", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", + "format": "" + }, + { + "name": "schedulerName", + "baseName": "schedulerName", + "type": "string", + "format": "" + }, + { + "name": "script", + "baseName": "script", + "type": "IoArgoprojWorkflowV1alpha1ScriptTemplate", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "sidecars", + "baseName": "sidecars", + "type": "Array", + "format": "" + }, + { + "name": "steps", + "baseName": "steps", + "type": "Array>", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "IoArgoprojWorkflowV1alpha1SuspendTemplate", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1Synchronization", + "format": "" + }, + { + "name": "timeout", + "baseName": "timeout", + "type": "string", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts new file mode 100644 index 0000000..3377b98 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TemplateRef is a reference of template resource. +*/ +export class IoArgoprojWorkflowV1alpha1TemplateRef { + /** + * ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate). + */ + 'clusterScope'?: boolean; + /** + * Name is the resource name of the template. + */ + 'name'?: string; + /** + * Template is the name of referred template in the resource. + */ + 'template'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterScope", + "baseName": "clusterScope", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts new file mode 100644 index 0000000..2cdf89d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts @@ -0,0 +1,38 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1TransformationStep { + /** + * Expression defines an expr expression to apply + */ + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts new file mode 100644 index 0000000..c4e9745 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest { + 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cronWorkflow", + "baseName": "cronWorkflow", + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1UserContainer.ts new file mode 100644 index 0000000..60305a0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UserContainer.ts @@ -0,0 +1,252 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* UserContainer is a container specified by a user. +*/ +export class IoArgoprojWorkflowV1alpha1UserContainer { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image'?: string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + */ + 'imagePullPolicy'?: string; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * 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 + */ + 'mirrorVolumeMounts'?: boolean; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name': string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + */ + 'terminationMessagePolicy'?: string; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "string", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "mirrorVolumeMounts", + "baseName": "mirrorVolumeMounts", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "string", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts new file mode 100644 index 0000000..3450874 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts @@ -0,0 +1,119 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { HttpFile } from '../http/http'; + +/** +* ValueFrom describes a location in which to obtain the value to a parameter +*/ +export class IoArgoprojWorkflowV1alpha1ValueFrom { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + /** + * Default specifies a value to be used if retrieving the value from the specified source fails + */ + '_default'?: string; + /** + * Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. `payload.message` + */ + 'event'?: string; + /** + * Expression, if defined, is evaluated to specify the value for the parameter + */ + 'expression'?: string; + /** + * JQFilter expression against the resource object in resource templates + */ + 'jqFilter'?: string; + /** + * JSONPath of a resource to retrieve an output parameter value from in resource templates + */ + 'jsonPath'?: string; + /** + * Parameter reference to a step or dag task in which to retrieve an output parameter value from (e.g. \'{{steps.mystep.outputs.myparam}}\') + */ + 'parameter'?: string; + /** + * Path in the container to retrieve an output parameter value from in container templates + */ + 'path'?: string; + /** + * SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc. + */ + 'supplied'?: any; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "_default", + "baseName": "default", + "type": "string", + "format": "" + }, + { + "name": "event", + "baseName": "event", + "type": "string", + "format": "" + }, + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + }, + { + "name": "jqFilter", + "baseName": "jqFilter", + "type": "string", + "format": "" + }, + { + "name": "jsonPath", + "baseName": "jsonPath", + "type": "string", + "format": "" + }, + { + "name": "parameter", + "baseName": "parameter", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "supplied", + "baseName": "supplied", + "type": "any", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Version.ts new file mode 100644 index 0000000..8e92e05 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Version.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1Version { + 'buildDate': string; + 'compiler': string; + 'gitCommit': string; + 'gitTag': string; + 'gitTreeState': string; + 'goVersion': string; + 'platform': string; + 'version': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "buildDate", + "baseName": "buildDate", + "type": "string", + "format": "" + }, + { + "name": "compiler", + "baseName": "compiler", + "type": "string", + "format": "" + }, + { + "name": "gitCommit", + "baseName": "gitCommit", + "type": "string", + "format": "" + }, + { + "name": "gitTag", + "baseName": "gitTag", + "type": "string", + "format": "" + }, + { + "name": "gitTreeState", + "baseName": "gitTreeState", + "type": "string", + "format": "" + }, + { + "name": "goVersion", + "baseName": "goVersion", + "type": "string", + "format": "" + }, + { + "name": "platform", + "baseName": "platform", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts new file mode 100644 index 0000000..966c9a3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* VolumeClaimGC describes how to delete volumes from completed Workflows +*/ +export class IoArgoprojWorkflowV1alpha1VolumeClaimGC { + /** + * Strategy is the strategy to use. One of \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". Defaults to \"OnWorkflowSuccess\" + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1Workflow.ts new file mode 100644 index 0000000..b36176b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Workflow.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Workflow is the definition of a workflow resource +*/ +export class IoArgoprojWorkflowV1alpha1Workflow { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + 'status'?: IoArgoprojWorkflowV1alpha1WorkflowStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoArgoprojWorkflowV1alpha1WorkflowStatus", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts new file mode 100644 index 0000000..75ef0c1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts @@ -0,0 +1,68 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + /** + * This field is no longer used. + */ + 'instanceID'?: string; + 'namespace'?: string; + 'serverDryRun'?: boolean; + 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "instanceID", + "baseName": "instanceID", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "serverDryRun", + "baseName": "serverDryRun", + "type": "boolean", + "format": "" + }, + { + "name": "workflow", + "baseName": "workflow", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts new file mode 100644 index 0000000..7cad216 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowEventBinding is the definition of an event resource +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowEventBinding { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts new file mode 100644 index 0000000..eff0ebc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowEventBindingList is list of event resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts new file mode 100644 index 0000000..c3b80f1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec { + 'event': IoArgoprojWorkflowV1alpha1Event; + 'submit'?: IoArgoprojWorkflowV1alpha1Submit; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "event", + "baseName": "event", + "type": "IoArgoprojWorkflowV1alpha1Event", + "format": "" + }, + { + "name": "submit", + "baseName": "submit", + "type": "IoArgoprojWorkflowV1alpha1Submit", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts new file mode 100644 index 0000000..2b21e40 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowLevelArtifactGC describes how to delete artifacts from completed Workflows - this spec is used on the Workflow level +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC { + /** + * ForceFinalizerRemoval: if set to true, the finalizer will be removed in the case that Artifact GC fails + */ + 'forceFinalizerRemoval'?: boolean; + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion + */ + 'serviceAccountName'?: string; + /** + * Strategy is the strategy to use. + */ + 'strategy'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "forceFinalizerRemoval", + "baseName": "forceFinalizerRemoval", + "type": "boolean", + "format": "" + }, + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts new file mode 100644 index 0000000..6d4b60f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowLintRequest { + 'namespace'?: string; + 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "workflow", + "baseName": "workflow", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts new file mode 100644 index 0000000..5931702 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowList is list of Workflow resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts new file mode 100644 index 0000000..5580c18 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowMetadata { + 'annotations'?: { [key: string]: string; }; + 'labels'?: { [key: string]: string; }; + 'labelsFrom'?: { [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "labelsFrom", + "baseName": "labelsFrom", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts new file mode 100644 index 0000000..15ca069 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest { + 'memoized'?: boolean; + 'name'?: string; + 'namespace'?: string; + 'parameters'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "memoized", + "baseName": "memoized", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts new file mode 100644 index 0000000..f633eef --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowResumeRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts new file mode 100644 index 0000000..1cdbc41 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowRetryRequest { + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'parameters'?: Array; + 'restartSuccessful'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "Array", + "format": "" + }, + { + "name": "restartSuccessful", + "baseName": "restartSuccessful", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts new file mode 100644 index 0000000..8e3504b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts @@ -0,0 +1,70 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSetRequest { + 'message'?: string; + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + 'outputParameters'?: string; + 'phase'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + }, + { + "name": "outputParameters", + "baseName": "outputParameters", + "type": "string", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts new file mode 100644 index 0000000..5786821 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts @@ -0,0 +1,418 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowSpec is the specification of a Workflow. +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowSpec { + /** + * Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the io.argoproj.workflow.v1alpha1. A value of zero is used to terminate a Running workflow + */ + 'activeDeadlineSeconds'?: number; + 'affinity'?: IoK8sApiCoreV1Affinity; + /** + * ArchiveLogs indicates if the container logs should be archived + */ + 'archiveLogs'?: boolean; + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'artifactGC'?: IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC; + 'artifactRepositoryRef'?: IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef; + /** + * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. + */ + 'automountServiceAccountToken'?: boolean; + 'dnsConfig'?: IoK8sApiCoreV1PodDNSConfig; + /** + * Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are \'ClusterFirstWithHostNet\', \'ClusterFirst\', \'Default\' or \'None\'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to \'ClusterFirstWithHostNet\'. + */ + 'dnsPolicy'?: string; + /** + * Entrypoint is a template reference to the starting point of the io.argoproj.workflow.v1alpha1. + */ + 'entrypoint'?: string; + 'executor'?: IoArgoprojWorkflowV1alpha1ExecutorConfig; + /** + * Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'hostAliases'?: Array; + /** + * Host networking requested for this workflow pod. Default to false. + */ + 'hostNetwork'?: boolean; + /** + * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + */ + 'imagePullSecrets'?: Array; + 'metrics'?: IoArgoprojWorkflowV1alpha1Metrics; + /** + * NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template. + */ + 'nodeSelector'?: { [key: string]: string; }; + /** + * OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary io.argoproj.workflow.v1alpha1. + */ + 'onExit'?: string; + /** + * Parallelism limits the max total parallel pods that can execute at the same time in a workflow + */ + 'parallelism'?: number; + 'podDisruptionBudget'?: IoK8sApiPolicyV1PodDisruptionBudgetSpec; + 'podGC'?: IoArgoprojWorkflowV1alpha1PodGC; + 'podMetadata'?: IoArgoprojWorkflowV1alpha1Metadata; + /** + * Priority to apply to workflow pods. DEPRECATED: Use PodPriorityClassName instead. + */ + 'podPriority'?: number; + /** + * PriorityClassName to apply to workflow pods. + */ + 'podPriorityClassName'?: string; + /** + * PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). + */ + 'podSpecPatch'?: string; + /** + * Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. + */ + 'priority'?: number; + 'retryStrategy'?: IoArgoprojWorkflowV1alpha1RetryStrategy; + /** + * Set scheduler name for all pods. Will be overridden if container/script template\'s scheduler name is set. Default scheduler will be used if neither specified. + */ + 'schedulerName'?: string; + 'securityContext'?: IoK8sApiCoreV1PodSecurityContext; + /** + * ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. + */ + 'serviceAccountName'?: string; + /** + * Shutdown will shutdown the workflow according to its ShutdownStrategy + */ + 'shutdown'?: string; + /** + * Suspend will suspend the workflow and prevent execution of any future steps in the workflow + */ + 'suspend'?: boolean; + 'synchronization'?: IoArgoprojWorkflowV1alpha1Synchronization; + 'templateDefaults'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Templates is a list of workflow templates used in a workflow + */ + 'templates'?: Array; + /** + * Tolerations to apply to workflow pods. + */ + 'tolerations'?: Array; + 'ttlStrategy'?: IoArgoprojWorkflowV1alpha1TTLStrategy; + 'volumeClaimGC'?: IoArgoprojWorkflowV1alpha1VolumeClaimGC; + /** + * VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow + */ + 'volumeClaimTemplates'?: Array; + /** + * Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1. + */ + 'volumes'?: Array; + 'workflowMetadata'?: IoArgoprojWorkflowV1alpha1WorkflowMetadata; + 'workflowTemplateRef'?: IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "activeDeadlineSeconds", + "baseName": "activeDeadlineSeconds", + "type": "number", + "format": "" + }, + { + "name": "affinity", + "baseName": "affinity", + "type": "IoK8sApiCoreV1Affinity", + "format": "" + }, + { + "name": "archiveLogs", + "baseName": "archiveLogs", + "type": "boolean", + "format": "" + }, + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "artifactGC", + "baseName": "artifactGC", + "type": "IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC", + "format": "" + }, + { + "name": "artifactRepositoryRef", + "baseName": "artifactRepositoryRef", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef", + "format": "" + }, + { + "name": "automountServiceAccountToken", + "baseName": "automountServiceAccountToken", + "type": "boolean", + "format": "" + }, + { + "name": "dnsConfig", + "baseName": "dnsConfig", + "type": "IoK8sApiCoreV1PodDNSConfig", + "format": "" + }, + { + "name": "dnsPolicy", + "baseName": "dnsPolicy", + "type": "string", + "format": "" + }, + { + "name": "entrypoint", + "baseName": "entrypoint", + "type": "string", + "format": "" + }, + { + "name": "executor", + "baseName": "executor", + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "hostAliases", + "baseName": "hostAliases", + "type": "Array", + "format": "" + }, + { + "name": "hostNetwork", + "baseName": "hostNetwork", + "type": "boolean", + "format": "" + }, + { + "name": "imagePullSecrets", + "baseName": "imagePullSecrets", + "type": "Array", + "format": "" + }, + { + "name": "metrics", + "baseName": "metrics", + "type": "IoArgoprojWorkflowV1alpha1Metrics", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "parallelism", + "baseName": "parallelism", + "type": "number", + "format": "" + }, + { + "name": "podDisruptionBudget", + "baseName": "podDisruptionBudget", + "type": "IoK8sApiPolicyV1PodDisruptionBudgetSpec", + "format": "" + }, + { + "name": "podGC", + "baseName": "podGC", + "type": "IoArgoprojWorkflowV1alpha1PodGC", + "format": "" + }, + { + "name": "podMetadata", + "baseName": "podMetadata", + "type": "IoArgoprojWorkflowV1alpha1Metadata", + "format": "" + }, + { + "name": "podPriority", + "baseName": "podPriority", + "type": "number", + "format": "" + }, + { + "name": "podPriorityClassName", + "baseName": "podPriorityClassName", + "type": "string", + "format": "" + }, + { + "name": "podSpecPatch", + "baseName": "podSpecPatch", + "type": "string", + "format": "" + }, + { + "name": "priority", + "baseName": "priority", + "type": "number", + "format": "" + }, + { + "name": "retryStrategy", + "baseName": "retryStrategy", + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", + "format": "" + }, + { + "name": "schedulerName", + "baseName": "schedulerName", + "type": "string", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1PodSecurityContext", + "format": "" + }, + { + "name": "serviceAccountName", + "baseName": "serviceAccountName", + "type": "string", + "format": "" + }, + { + "name": "shutdown", + "baseName": "shutdown", + "type": "string", + "format": "" + }, + { + "name": "suspend", + "baseName": "suspend", + "type": "boolean", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1Synchronization", + "format": "" + }, + { + "name": "templateDefaults", + "baseName": "templateDefaults", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "templates", + "baseName": "templates", + "type": "Array", + "format": "" + }, + { + "name": "tolerations", + "baseName": "tolerations", + "type": "Array", + "format": "" + }, + { + "name": "ttlStrategy", + "baseName": "ttlStrategy", + "type": "IoArgoprojWorkflowV1alpha1TTLStrategy", + "format": "" + }, + { + "name": "volumeClaimGC", + "baseName": "volumeClaimGC", + "type": "IoArgoprojWorkflowV1alpha1VolumeClaimGC", + "format": "" + }, + { + "name": "volumeClaimTemplates", + "baseName": "volumeClaimTemplates", + "type": "Array", + "format": "" + }, + { + "name": "volumes", + "baseName": "volumes", + "type": "Array", + "format": "" + }, + { + "name": "workflowMetadata", + "baseName": "workflowMetadata", + "type": "IoArgoprojWorkflowV1alpha1WorkflowMetadata", + "format": "" + }, + { + "name": "workflowTemplateRef", + "baseName": "workflowTemplateRef", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts new file mode 100644 index 0000000..2daa79f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts @@ -0,0 +1,205 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowStatus contains overall status information about a workflow +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowStatus { + 'artifactGCStatus'?: IoArgoprojWorkflowV1alpha1ArtGCStatus; + 'artifactRepositoryRef'?: IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus; + /** + * Compressed and base64 decoded Nodes map + */ + 'compressedNodes'?: string; + /** + * Conditions is a list of conditions the Workflow may have + */ + 'conditions'?: Array; + /** + * EstimatedDuration in seconds. + */ + 'estimatedDuration'?: number; + /** + * 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. + */ + 'finishedAt'?: Date; + /** + * A human readable message indicating details about why the workflow is in this condition. + */ + 'message'?: string; + /** + * Nodes is a mapping between a node ID and the node\'s status. + */ + 'nodes'?: { [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }; + /** + * 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. + */ + 'offloadNodeStatusVersion'?: string; + 'outputs'?: IoArgoprojWorkflowV1alpha1Outputs; + /** + * 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. + */ + 'persistentVolumeClaims'?: Array; + /** + * 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. + */ + 'phase'?: string; + /** + * Progress to completion + */ + 'progress'?: string; + /** + * ResourcesDuration is the total for the workflow + */ + 'resourcesDuration'?: { [key: string]: number; }; + /** + * 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. + */ + 'startedAt'?: Date; + /** + * StoredTemplates is a mapping between a template ref and the node\'s status. + */ + 'storedTemplates'?: { [key: string]: IoArgoprojWorkflowV1alpha1Template; }; + 'storedWorkflowTemplateSpec'?: IoArgoprojWorkflowV1alpha1WorkflowSpec; + 'synchronization'?: IoArgoprojWorkflowV1alpha1SynchronizationStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artifactGCStatus", + "baseName": "artifactGCStatus", + "type": "IoArgoprojWorkflowV1alpha1ArtGCStatus", + "format": "" + }, + { + "name": "artifactRepositoryRef", + "baseName": "artifactRepositoryRef", + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus", + "format": "" + }, + { + "name": "compressedNodes", + "baseName": "compressedNodes", + "type": "string", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "estimatedDuration", + "baseName": "estimatedDuration", + "type": "number", + "format": "" + }, + { + "name": "finishedAt", + "baseName": "finishedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "nodes", + "baseName": "nodes", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }", + "format": "" + }, + { + "name": "offloadNodeStatusVersion", + "baseName": "offloadNodeStatusVersion", + "type": "string", + "format": "" + }, + { + "name": "outputs", + "baseName": "outputs", + "type": "IoArgoprojWorkflowV1alpha1Outputs", + "format": "" + }, + { + "name": "persistentVolumeClaims", + "baseName": "persistentVolumeClaims", + "type": "Array", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "string", + "format": "" + }, + { + "name": "progress", + "baseName": "progress", + "type": "string", + "format": "" + }, + { + "name": "resourcesDuration", + "baseName": "resourcesDuration", + "type": "{ [key: string]: number; }", + "format": "int64" + }, + { + "name": "startedAt", + "baseName": "startedAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "storedTemplates", + "baseName": "storedTemplates", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", + "format": "" + }, + { + "name": "storedWorkflowTemplateSpec", + "baseName": "storedWorkflowTemplateSpec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + }, + { + "name": "synchronization", + "baseName": "synchronization", + "type": "IoArgoprojWorkflowV1alpha1SynchronizationStatus", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts new file mode 100644 index 0000000..2685397 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts @@ -0,0 +1,142 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* WorkflowStep is a reference to a template to execute in a series of step +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowStep { + 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; + 'continueOn'?: IoArgoprojWorkflowV1alpha1ContinueOn; + /** + * Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step + */ + 'hooks'?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; + 'inline'?: IoArgoprojWorkflowV1alpha1Template; + /** + * Name of the step + */ + 'name'?: string; + /** + * 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. + */ + 'onExit'?: string; + /** + * Template is the name of the template to execute as the step + */ + 'template'?: string; + 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; + /** + * When is an expression in which the step should conditionally execute + */ + 'when'?: string; + /** + * WithItems expands a step into multiple parallel steps from the items in the list + */ + '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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "arguments", + "baseName": "arguments", + "type": "IoArgoprojWorkflowV1alpha1Arguments", + "format": "" + }, + { + "name": "continueOn", + "baseName": "continueOn", + "type": "IoArgoprojWorkflowV1alpha1ContinueOn", + "format": "" + }, + { + "name": "hooks", + "baseName": "hooks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", + "format": "" + }, + { + "name": "inline", + "baseName": "inline", + "type": "IoArgoprojWorkflowV1alpha1Template", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "onExit", + "baseName": "onExit", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "string", + "format": "" + }, + { + "name": "templateRef", + "baseName": "templateRef", + "type": "IoArgoprojWorkflowV1alpha1TemplateRef", + "format": "" + }, + { + "name": "when", + "baseName": "when", + "type": "string", + "format": "" + }, + { + "name": "withItems", + "baseName": "withItems", + "type": "Array", + "format": "" + }, + { + "name": "withParam", + "baseName": "withParam", + "type": "string", + "format": "" + }, + { + "name": "withSequence", + "baseName": "withSequence", + "type": "IoArgoprojWorkflowV1alpha1Sequence", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts new file mode 100644 index 0000000..40db02a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts @@ -0,0 +1,56 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowStopRequest { + 'message'?: string; + 'name'?: string; + 'namespace'?: string; + 'nodeFieldSelector'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "nodeFieldSelector", + "baseName": "nodeFieldSelector", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts new file mode 100644 index 0000000..b7a679a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest { + 'namespace'?: string; + 'resourceKind'?: string; + 'resourceName'?: string; + 'submitOptions'?: IoArgoprojWorkflowV1alpha1SubmitOpts; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "resourceKind", + "baseName": "resourceKind", + "type": "string", + "format": "" + }, + { + "name": "resourceName", + "baseName": "resourceName", + "type": "string", + "format": "" + }, + { + "name": "submitOptions", + "baseName": "submitOptions", + "type": "IoArgoprojWorkflowV1alpha1SubmitOpts", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts new file mode 100644 index 0000000..176bead --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts new file mode 100644 index 0000000..df5bb03 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec { + 'tasks'?: { [key: string]: IoArgoprojWorkflowV1alpha1Template; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "tasks", + "baseName": "tasks", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts new file mode 100644 index 0000000..169c0ac --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts @@ -0,0 +1,36 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus { + 'nodes'?: { [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodes", + "baseName": "nodes", + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts new file mode 100644 index 0000000..247fbf2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplate is the definition of a workflow template resource +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplate { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts new file mode 100644 index 0000000..6fd79f2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts new file mode 100644 index 0000000..b125224 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts new file mode 100644 index 0000000..b552475 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplateList is list of WorkflowTemplate resources +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts new file mode 100644 index 0000000..1047f92 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* WorkflowTemplateRef is a reference to a WorkflowTemplate resource. +*/ +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateRef { + /** + * ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate). + */ + 'clusterScope'?: boolean; + /** + * Name is the resource name of the workflow template. + */ + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "clusterScope", + "baseName": "clusterScope", + "type": "boolean", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts new file mode 100644 index 0000000..217d052 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest { + /** + * DEPRECATED: This field is ignored. + */ + 'name'?: string; + 'namespace'?: string; + 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "template", + "baseName": "template", + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts new file mode 100644 index 0000000..d609248 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest { + 'name'?: string; + 'namespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts new file mode 100644 index 0000000..77ebb2f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { HttpFile } from '../http/http'; + +export class IoArgoprojWorkflowV1alpha1WorkflowWatchEvent { + 'object'?: IoArgoprojWorkflowV1alpha1Workflow; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojWorkflowV1alpha1Workflow", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts new file mode 100644 index 0000000..f8b6f61 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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). + */ + 'partition'?: number; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Affinity.ts new file mode 100644 index 0000000..28d18b5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Affinity.ts @@ -0,0 +1,55 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Affinity is a group of affinity scheduling rules. +*/ +export class IoK8sApiCoreV1Affinity { + 'nodeAffinity'?: IoK8sApiCoreV1NodeAffinity; + 'podAffinity'?: IoK8sApiCoreV1PodAffinity; + 'podAntiAffinity'?: IoK8sApiCoreV1PodAntiAffinity; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeAffinity", + "baseName": "nodeAffinity", + "type": "IoK8sApiCoreV1NodeAffinity", + "format": "" + }, + { + "name": "podAffinity", + "baseName": "podAffinity", + "type": "IoK8sApiCoreV1PodAffinity", + "format": "" + }, + { + "name": "podAntiAffinity", + "baseName": "podAntiAffinity", + "type": "IoK8sApiCoreV1PodAntiAffinity", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts new file mode 100644 index 0000000..42d33af --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +*/ +export class IoK8sApiCoreV1AzureDiskVolumeSource { + /** + * Host Caching mode: None, Read Only, Read Write. + */ + 'cachingMode'?: string; + /** + * The Name of the data disk in the blob storage + */ + 'diskName': string; + /** + * The URI the data disk in the blob storage + */ + 'diskURI': string; + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + */ + 'fsType'?: string; + /** + * 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 + */ + 'kind'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cachingMode", + "baseName": "cachingMode", + "type": "string", + "format": "" + }, + { + "name": "diskName", + "baseName": "diskName", + "type": "string", + "format": "" + }, + { + "name": "diskURI", + "baseName": "diskURI", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1AzureFileVolumeSource.ts new file mode 100644 index 0000000..685a138 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureFileVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +*/ +export class IoK8sApiCoreV1AzureFileVolumeSource { + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * the name of secret that contains Azure Storage Account Name and Key + */ + 'secretName': string; + /** + * Share Name + */ + 'shareName': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretName", + "baseName": "secretName", + "type": "string", + "format": "" + }, + { + "name": "shareName", + "baseName": "shareName", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1CSIVolumeSource.ts new file mode 100644 index 0000000..623ba79 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CSIVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a source location of a volume to mount, managed by an external CSI driver +*/ +export class IoK8sApiCoreV1CSIVolumeSource { + /** + * 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. + */ + 'driver': string; + /** + * Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. + */ + 'fsType'?: string; + 'nodePublishSecretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * Specifies a read-only configuration for the volume. Defaults to false (read/write). + */ + 'readOnly'?: boolean; + /** + * VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver\'s documentation for supported values. + */ + 'volumeAttributes'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "nodePublishSecretRef", + "baseName": "nodePublishSecretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeAttributes", + "baseName": "volumeAttributes", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Capabilities.ts new file mode 100644 index 0000000..c849b12 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Capabilities.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Adds and removes POSIX capabilities from running containers. +*/ +export class IoK8sApiCoreV1Capabilities { + /** + * Added capabilities + */ + 'add'?: Array; + /** + * Removed capabilities + */ + 'drop'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "add", + "baseName": "add", + "type": "Array", + "format": "" + }, + { + "name": "drop", + "baseName": "drop", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1CephFSVolumeSource.ts new file mode 100644 index 0000000..469f9de --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CephFSVolumeSource.ts @@ -0,0 +1,89 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1CephFSVolumeSource { + /** + * Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + */ + 'monitors': Array; + /** + * Optional: Used as the mounted root, rather than the full Ceph tree, default is / + */ + 'path'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * 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 + */ + 'secretFile'?: string; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "monitors", + "baseName": "monitors", + "type": "Array", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretFile", + "baseName": "secretFile", + "type": "string", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1CinderVolumeSource.ts new file mode 100644 index 0000000..1410d75 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CinderVolumeSource.ts @@ -0,0 +1,69 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1CinderVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ConfigMapEnvSource.ts new file mode 100644 index 0000000..85873b5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapEnvSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapEnvSource { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ConfigMapKeySelector.ts new file mode 100644 index 0000000..b41427e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapKeySelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Selects a key from a ConfigMap. +*/ +export class IoK8sApiCoreV1ConfigMapKeySelector { + /** + * The key to select. + */ + 'key': string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ConfigMapProjection.ts new file mode 100644 index 0000000..9e7124f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapProjection.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapProjection { + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its keys must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts new file mode 100644 index 0000000..39f8a4c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1ConfigMapVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the ConfigMap or its keys must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Container.ts new file mode 100644 index 0000000..d6107a9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Container.ts @@ -0,0 +1,246 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* A single application container that you want to run within a pod. +*/ +export class IoK8sApiCoreV1Container { + /** + * 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 + */ + 'args'?: Array; + /** + * 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 + */ + 'command'?: Array; + /** + * List of environment variables to set in the container. Cannot be updated. + */ + 'env'?: Array; + /** + * 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. + */ + 'envFrom'?: Array; + /** + * 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. + */ + 'image': string; + /** + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images 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; + 'lifecycle'?: IoK8sApiCoreV1Lifecycle; + 'livenessProbe'?: IoK8sApiCoreV1Probe; + /** + * Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. + */ + 'name'?: string; + /** + * 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. + */ + 'ports'?: Array; + 'readinessProbe'?: IoK8sApiCoreV1Probe; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'securityContext'?: IoK8sApiCoreV1SecurityContext; + 'startupProbe'?: IoK8sApiCoreV1Probe; + /** + * 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. + */ + 'stdin'?: boolean; + /** + * Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false + */ + 'stdinOnce'?: boolean; + /** + * 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. + */ + 'terminationMessagePath'?: string; + /** + * Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. 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; + /** + * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. + */ + 'tty'?: boolean; + /** + * volumeDevices is the list of block devices to be used by the container. + */ + 'volumeDevices'?: Array; + /** + * Pod volumes to mount into the container\'s filesystem. Cannot be updated. + */ + 'volumeMounts'?: Array; + /** + * 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. + */ + 'workingDir'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "args", + "baseName": "args", + "type": "Array", + "format": "" + }, + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + }, + { + "name": "env", + "baseName": "env", + "type": "Array", + "format": "" + }, + { + "name": "envFrom", + "baseName": "envFrom", + "type": "Array", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "imagePullPolicy", + "baseName": "imagePullPolicy", + "type": "IoK8sApiCoreV1ContainerImagePullPolicyEnum", + "format": "" + }, + { + "name": "lifecycle", + "baseName": "lifecycle", + "type": "IoK8sApiCoreV1Lifecycle", + "format": "" + }, + { + "name": "livenessProbe", + "baseName": "livenessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "ports", + "baseName": "ports", + "type": "Array", + "format": "" + }, + { + "name": "readinessProbe", + "baseName": "readinessProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "securityContext", + "baseName": "securityContext", + "type": "IoK8sApiCoreV1SecurityContext", + "format": "" + }, + { + "name": "startupProbe", + "baseName": "startupProbe", + "type": "IoK8sApiCoreV1Probe", + "format": "" + }, + { + "name": "stdin", + "baseName": "stdin", + "type": "boolean", + "format": "" + }, + { + "name": "stdinOnce", + "baseName": "stdinOnce", + "type": "boolean", + "format": "" + }, + { + "name": "terminationMessagePath", + "baseName": "terminationMessagePath", + "type": "string", + "format": "" + }, + { + "name": "terminationMessagePolicy", + "baseName": "terminationMessagePolicy", + "type": "IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum", + "format": "" + }, + { + "name": "tty", + "baseName": "tty", + "type": "boolean", + "format": "" + }, + { + "name": "volumeDevices", + "baseName": "volumeDevices", + "type": "Array", + "format": "" + }, + { + "name": "volumeMounts", + "baseName": "volumeMounts", + "type": "Array", + "format": "" + }, + { + "name": "workingDir", + "baseName": "workingDir", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Container.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ContainerImagePullPolicyEnum = "Always" | "IfNotPresent" | "Never" ; +export type IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum = "FallbackToLogsOnError" | "File" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts new file mode 100644 index 0000000..62592e6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts @@ -0,0 +1,84 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ContainerPort represents a network port in a single container. +*/ +export class IoK8sApiCoreV1ContainerPort { + /** + * Number of port to expose on the pod\'s IP address. This must be a valid port number, 0 < x < 65536. + */ + 'containerPort': number; + /** + * What host IP to bind the external port to. + */ + 'hostIP'?: string; + /** + * Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. + */ + 'hostPort'?: number; + /** + * 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. + */ + 'name'?: string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containerPort", + "baseName": "containerPort", + "type": "number", + "format": "" + }, + { + "name": "hostIP", + "baseName": "hostIP", + "type": "string", + "format": "" + }, + { + "name": "hostPort", + "baseName": "hostPort", + "type": "number", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "protocol", + "baseName": "protocol", + "type": "IoK8sApiCoreV1ContainerPortProtocolEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ContainerPort.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ContainerPortProtocolEnum = "SCTP" | "TCP" | "UDP" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts new file mode 100644 index 0000000..495297a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; + +/** +* Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. +*/ +export class IoK8sApiCoreV1DownwardAPIProjection { + /** + * Items is a list of DownwardAPIVolume file + */ + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts new file mode 100644 index 0000000..2201927 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts @@ -0,0 +1,67 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { HttpFile } from '../http/http'; + +/** +* DownwardAPIVolumeFile represents information to create the file containing the pod field +*/ +export class IoK8sApiCoreV1DownwardAPIVolumeFile { + 'fieldRef'?: IoK8sApiCoreV1ObjectFieldSelector; + /** + * 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. + */ + 'mode'?: number; + /** + * 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 \'..\' + */ + 'path': string; + 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fieldRef", + "baseName": "fieldRef", + "type": "IoK8sApiCoreV1ObjectFieldSelector", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "resourceFieldRef", + "baseName": "resourceFieldRef", + "type": "IoK8sApiCoreV1ResourceFieldSelector", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts new file mode 100644 index 0000000..f735865 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; + +/** +* DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1DownwardAPIVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * Items is a list of downward API volume file + */ + 'items'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts new file mode 100644 index 0000000..fc655a1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1EmptyDirVolumeSource { + /** + * 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 + */ + 'medium'?: string; + /** + * 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. The serialization format is: ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn\'t choose the capitalization.) ::= \"e\" | \"E\" No 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. When 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. Before 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: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-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.) This 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. + */ + 'sizeLimit'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "medium", + "baseName": "medium", + "type": "string", + "format": "" + }, + { + "name": "sizeLimit", + "baseName": "sizeLimit", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EnvFromSource.ts new file mode 100644 index 0000000..f091324 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvFromSource.ts @@ -0,0 +1,57 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { HttpFile } from '../http/http'; + +/** +* EnvFromSource represents the source of a set of ConfigMaps +*/ +export class IoK8sApiCoreV1EnvFromSource { + 'configMapRef'?: IoK8sApiCoreV1ConfigMapEnvSource; + /** + * An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + */ + 'prefix'?: string; + 'secretRef'?: IoK8sApiCoreV1SecretEnvSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapRef", + "baseName": "configMapRef", + "type": "IoK8sApiCoreV1ConfigMapEnvSource", + "format": "" + }, + { + "name": "prefix", + "baseName": "prefix", + "type": "string", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1SecretEnvSource", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EnvVar.ts new file mode 100644 index 0000000..cb140dd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVar.ts @@ -0,0 +1,59 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { HttpFile } from '../http/http'; + +/** +* EnvVar represents an environment variable present in a Container. +*/ +export class IoK8sApiCoreV1EnvVar { + /** + * Name of the environment variable. Must be a C_IDENTIFIER. + */ + 'name': string; + /** + * 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 \"\". + */ + 'value'?: string; + 'valueFrom'?: IoK8sApiCoreV1EnvVarSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + }, + { + "name": "valueFrom", + "baseName": "valueFrom", + "type": "IoK8sApiCoreV1EnvVarSource", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EnvVarSource.ts new file mode 100644 index 0000000..7e10581 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVarSource.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* EnvVarSource represents a source for the value of an EnvVar. +*/ +export class IoK8sApiCoreV1EnvVarSource { + 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; + 'fieldRef'?: IoK8sApiCoreV1ObjectFieldSelector; + 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; + 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMapKeyRef", + "baseName": "configMapKeyRef", + "type": "IoK8sApiCoreV1ConfigMapKeySelector", + "format": "" + }, + { + "name": "fieldRef", + "baseName": "fieldRef", + "type": "IoK8sApiCoreV1ObjectFieldSelector", + "format": "" + }, + { + "name": "resourceFieldRef", + "baseName": "resourceFieldRef", + "type": "IoK8sApiCoreV1ResourceFieldSelector", + "format": "" + }, + { + "name": "secretKeyRef", + "baseName": "secretKeyRef", + "type": "IoK8sApiCoreV1SecretKeySelector", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EphemeralVolumeSource.ts new file mode 100644 index 0000000..2304e0d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EphemeralVolumeSource.ts @@ -0,0 +1,39 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { HttpFile } from '../http/http'; + +/** +* Represents an ephemeral volume that is handled by a normal storage driver. +*/ +export class IoK8sApiCoreV1EphemeralVolumeSource { + 'volumeClaimTemplate'?: IoK8sApiCoreV1PersistentVolumeClaimTemplate; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "volumeClaimTemplate", + "baseName": "volumeClaimTemplate", + "type": "IoK8sApiCoreV1PersistentVolumeClaimTemplate", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Event.ts new file mode 100644 index 0000000..2f393f7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Event.ts @@ -0,0 +1,190 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1Event { + /** + * What action was taken/failed regarding to the Regarding object. + */ + 'action'?: string; + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + */ + 'apiVersion'?: string; + /** + * The number of times this event has occurred. + */ + 'count'?: number; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'eventTime'?: Date; + /** + * 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. + */ + 'firstTimestamp'?: Date; + 'involvedObject': IoK8sApiCoreV1ObjectReference; + /** + * 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 + */ + 'kind'?: string; + /** + * 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. + */ + 'lastTimestamp'?: Date; + /** + * A human-readable description of the status of this operation. + */ + 'message'?: string; + 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; + /** + * This should be a short, machine understandable string that gives the reason for the transition into the object\'s current status. + */ + 'reason'?: string; + 'related'?: IoK8sApiCoreV1ObjectReference; + /** + * Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + */ + 'reportingComponent'?: string; + /** + * ID of the controller instance, e.g. `kubelet-xyzf`. + */ + 'reportingInstance'?: string; + 'series'?: IoK8sApiCoreV1EventSeries; + 'source'?: IoK8sApiCoreV1EventSource; + /** + * Type of this event (Normal, Warning), new types could be added in the future + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "action", + "baseName": "action", + "type": "string", + "format": "" + }, + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "" + }, + { + "name": "eventTime", + "baseName": "eventTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "firstTimestamp", + "baseName": "firstTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "involvedObject", + "baseName": "involvedObject", + "type": "IoK8sApiCoreV1ObjectReference", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "lastTimestamp", + "baseName": "lastTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "related", + "baseName": "related", + "type": "IoK8sApiCoreV1ObjectReference", + "format": "" + }, + { + "name": "reportingComponent", + "baseName": "reportingComponent", + "type": "string", + "format": "" + }, + { + "name": "reportingInstance", + "baseName": "reportingInstance", + "type": "string", + "format": "" + }, + { + "name": "series", + "baseName": "series", + "type": "IoK8sApiCoreV1EventSeries", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "IoK8sApiCoreV1EventSource", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1EventSeries.ts new file mode 100644 index 0000000..d874301 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSeries.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. +*/ +export class IoK8sApiCoreV1EventSeries { + /** + * Number of occurrences in this series up to the last heartbeat time + */ + 'count'?: number; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'lastObservedTime'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "" + }, + { + "name": "lastObservedTime", + "baseName": "lastObservedTime", + "type": "Date", + "format": "date-time" + } ]; + + 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/models/IoK8sApiCoreV1EventSource.ts new file mode 100644 index 0000000..f39eefa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* EventSource contains information for an event. +*/ +export class IoK8sApiCoreV1EventSource { + /** + * Component from which the event is generated. + */ + 'component'?: string; + /** + * Node name on which the event is generated. + */ + 'host'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "component", + "baseName": "component", + "type": "string", + "format": "" + }, + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ExecAction.ts new file mode 100644 index 0000000..cde17e7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ExecAction.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ExecAction describes a \"run in container\" action. +*/ +export class IoK8sApiCoreV1ExecAction { + /** + * 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. + */ + 'command'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "command", + "baseName": "command", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1FCVolumeSource.ts new file mode 100644 index 0000000..7a8076b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FCVolumeSource.ts @@ -0,0 +1,81 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1FCVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Optional: FC target lun number + */ + 'lun'?: number; + /** + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * Optional: FC target worldwide names (WWNs) + */ + 'targetWWNs'?: Array; + /** + * Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + */ + 'wwids'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "lun", + "baseName": "lun", + "type": "number", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "targetWWNs", + "baseName": "targetWWNs", + "type": "Array", + "format": "" + }, + { + "name": "wwids", + "baseName": "wwids", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1FlexVolumeSource.ts new file mode 100644 index 0000000..9150a07 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlexVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +*/ +export class IoK8sApiCoreV1FlexVolumeSource { + /** + * Driver is the name of the driver to use for this volume. + */ + 'driver': string; + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + */ + 'fsType'?: string; + /** + * Optional: Extra command options if any. + */ + 'options'?: { [key: string]: string; }; + /** + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "options", + "baseName": "options", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1FlockerVolumeSource.ts new file mode 100644 index 0000000..fb64093 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlockerVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1FlockerVolumeSource { + /** + * Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated + */ + 'datasetName'?: string; + /** + * UUID of the dataset. This is unique identifier of a Flocker dataset + */ + 'datasetUUID'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "datasetName", + "baseName": "datasetName", + "type": "string", + "format": "" + }, + { + "name": "datasetUUID", + "baseName": "datasetUUID", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts new file mode 100644 index 0000000..b426c49 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1GCEPersistentDiskVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * 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 + */ + 'partition'?: number; + /** + * 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 + */ + 'pdName': string; + /** + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "partition", + "baseName": "partition", + "type": "number", + "format": "" + }, + { + "name": "pdName", + "baseName": "pdName", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1GRPCAction.ts new file mode 100644 index 0000000..7580110 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GRPCAction.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class IoK8sApiCoreV1GRPCAction { + /** + * Port number of the gRPC service. Number must be in the range 1 to 65535. + */ + 'port': number; + /** + * 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). If this is not specified, the default behavior is defined by gRPC. + */ + 'service'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "port", + "baseName": "port", + "type": "number", + "format": "" + }, + { + "name": "service", + "baseName": "service", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1GitRepoVolumeSource.ts new file mode 100644 index 0000000..b64f904 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GitRepoVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1GitRepoVolumeSource { + /** + * 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. + */ + 'directory'?: string; + /** + * Repository URL + */ + 'repository': string; + /** + * Commit hash for the specified revision. + */ + 'revision'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "directory", + "baseName": "directory", + "type": "string", + "format": "" + }, + { + "name": "repository", + "baseName": "repository", + "type": "string", + "format": "" + }, + { + "name": "revision", + "baseName": "revision", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts new file mode 100644 index 0000000..7fd67ca --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1GlusterfsVolumeSource { + /** + * EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + */ + 'endpoints': string; + /** + * Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + */ + 'path': string; + /** + * 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 + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "endpoints", + "baseName": "endpoints", + "type": "string", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1HTTPGetAction.ts new file mode 100644 index 0000000..e5296e1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPGetAction.ts @@ -0,0 +1,82 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { HttpFile } from '../http/http'; + +/** +* HTTPGetAction describes an action based on HTTP Get requests. +*/ +export class IoK8sApiCoreV1HTTPGetAction { + /** + * Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. + */ + 'host'?: string; + /** + * Custom headers to set in the request. HTTP allows repeated headers. + */ + 'httpHeaders'?: Array; + /** + * Path to access on the HTTP server. + */ + 'path'?: string; + 'port': string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "httpHeaders", + "baseName": "httpHeaders", + "type": "Array", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + }, + { + "name": "scheme", + "baseName": "scheme", + "type": "IoK8sApiCoreV1HTTPGetActionSchemeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1HTTPGetAction.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1HTTPGetActionSchemeEnum = "HTTP" | "HTTPS" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts new file mode 100644 index 0000000..4763a0f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HTTPHeader describes a custom header to be used in HTTP probes +*/ +export class IoK8sApiCoreV1HTTPHeader { + /** + * The header field name + */ + 'name': string; + /** + * The header field value + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1HostAlias.ts new file mode 100644 index 0000000..46da5a5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostAlias.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod\'s hosts file. +*/ +export class IoK8sApiCoreV1HostAlias { + /** + * Hostnames for the above IP address. + */ + 'hostnames'?: Array; + /** + * IP address of the host file entry. + */ + 'ip'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "hostnames", + "baseName": "hostnames", + "type": "Array", + "format": "" + }, + { + "name": "ip", + "baseName": "ip", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1HostPathVolumeSource.ts new file mode 100644 index 0000000..17f6cd0 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostPathVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1HostPathVolumeSource { + /** + * 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 + */ + 'path': string; + /** + * Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + */ + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ISCSIVolumeSource.ts new file mode 100644 index 0000000..52e4735 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ISCSIVolumeSource.ts @@ -0,0 +1,139 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1ISCSIVolumeSource { + /** + * whether support iSCSI Discovery CHAP authentication + */ + 'chapAuthDiscovery'?: boolean; + /** + * whether support iSCSI Session CHAP authentication + */ + 'chapAuthSession'?: boolean; + /** + * 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 + */ + 'fsType'?: string; + /** + * Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. + */ + 'initiatorName'?: string; + /** + * Target iSCSI Qualified Name. + */ + 'iqn': string; + /** + * iSCSI Interface Name that uses an iSCSI transport. Defaults to \'default\' (tcp). + */ + 'iscsiInterface'?: string; + /** + * iSCSI Target Lun number. + */ + 'lun': number; + /** + * 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). + */ + 'portals'?: Array; + /** + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * 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). + */ + 'targetPortal': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "chapAuthDiscovery", + "baseName": "chapAuthDiscovery", + "type": "boolean", + "format": "" + }, + { + "name": "chapAuthSession", + "baseName": "chapAuthSession", + "type": "boolean", + "format": "" + }, + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "initiatorName", + "baseName": "initiatorName", + "type": "string", + "format": "" + }, + { + "name": "iqn", + "baseName": "iqn", + "type": "string", + "format": "" + }, + { + "name": "iscsiInterface", + "baseName": "iscsiInterface", + "type": "string", + "format": "" + }, + { + "name": "lun", + "baseName": "lun", + "type": "number", + "format": "" + }, + { + "name": "portals", + "baseName": "portals", + "type": "Array", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "targetPortal", + "baseName": "targetPortal", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1KeyToPath.ts new file mode 100644 index 0000000..89e23bf --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1KeyToPath.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Maps a string key to a path within a volume. +*/ +export class IoK8sApiCoreV1KeyToPath { + /** + * The key to project. + */ + 'key': string; + /** + * 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. + */ + 'mode'?: number; + /** + * 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 \'..\'. + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "mode", + "baseName": "mode", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Lifecycle.ts new file mode 100644 index 0000000..000f063 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Lifecycle.ts @@ -0,0 +1,46 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1Lifecycle { + 'postStart'?: IoK8sApiCoreV1LifecycleHandler; + 'preStop'?: IoK8sApiCoreV1LifecycleHandler; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "postStart", + "baseName": "postStart", + "type": "IoK8sApiCoreV1LifecycleHandler", + "format": "" + }, + { + "name": "preStop", + "baseName": "preStop", + "type": "IoK8sApiCoreV1LifecycleHandler", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1LifecycleHandler.ts new file mode 100644 index 0000000..aee4139 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LifecycleHandler.ts @@ -0,0 +1,55 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1LifecycleHandler { + 'exec'?: IoK8sApiCoreV1ExecAction; + 'httpGet'?: IoK8sApiCoreV1HTTPGetAction; + 'tcpSocket'?: IoK8sApiCoreV1TCPSocketAction; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exec", + "baseName": "exec", + "type": "IoK8sApiCoreV1ExecAction", + "format": "" + }, + { + "name": "httpGet", + "baseName": "httpGet", + "type": "IoK8sApiCoreV1HTTPGetAction", + "format": "" + }, + { + "name": "tcpSocket", + "baseName": "tcpSocket", + "type": "IoK8sApiCoreV1TCPSocketAction", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1LocalObjectReference.ts new file mode 100644 index 0000000..4458a9a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LocalObjectReference.ts @@ -0,0 +1,41 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +*/ +export class IoK8sApiCoreV1LocalObjectReference { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1NFSVolumeSource.ts new file mode 100644 index 0000000..e335e13 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NFSVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1NFSVolumeSource { + /** + * Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + */ + 'path': string; + /** + * 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 + */ + 'readOnly'?: boolean; + /** + * Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + */ + 'server': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "server", + "baseName": "server", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1NodeAffinity.ts new file mode 100644 index 0000000..b06802d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeAffinity.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { HttpFile } from '../http/http'; + +/** +* Node affinity is a group of node affinity scheduling rules. +*/ +export class IoK8sApiCoreV1NodeAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + 'requiredDuringSchedulingIgnoredDuringExecution'?: IoK8sApiCoreV1NodeSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "IoK8sApiCoreV1NodeSelector", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1NodeSelector.ts new file mode 100644 index 0000000..7c8c500 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelector.ts @@ -0,0 +1,42 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1NodeSelector { + /** + * Required. A list of node selector terms. The terms are ORed. + */ + 'nodeSelectorTerms': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nodeSelectorTerms", + "baseName": "nodeSelectorTerms", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1NodeSelectorRequirement.ts new file mode 100644 index 0000000..3998fdd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorRequirement.ts @@ -0,0 +1,64 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +*/ +export class IoK8sApiCoreV1NodeSelectorRequirement { + /** + * The label key that the selector applies to. + */ + 'key': string; + /** + * 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; + /** + * 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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum", + "format": "" + }, + { + "name": "values", + "baseName": "values", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1NodeSelectorRequirement.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum = "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts new file mode 100644 index 0000000..c491a3e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1NodeSelectorTerm { + /** + * A list of node selector requirements by node\'s labels. + */ + 'matchExpressions'?: Array; + /** + * A list of node selector requirements by node\'s fields. + */ + 'matchFields'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchExpressions", + "baseName": "matchExpressions", + "type": "Array", + "format": "" + }, + { + "name": "matchFields", + "baseName": "matchFields", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ObjectFieldSelector.ts new file mode 100644 index 0000000..ca01f09 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectFieldSelector.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ObjectFieldSelector selects an APIVersioned field of an object. +*/ +export class IoK8sApiCoreV1ObjectFieldSelector { + /** + * Version of the schema the FieldPath is written in terms of, defaults to \"v1\". + */ + 'apiVersion'?: string; + /** + * Path of the field to select in the specified API version. + */ + 'fieldPath': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldPath", + "baseName": "fieldPath", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ObjectReference.ts new file mode 100644 index 0000000..62ddbd9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectReference.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ObjectReference contains enough information to let you inspect or modify the referred object. +*/ +export class IoK8sApiCoreV1ObjectReference { + /** + * API version of the referent. + */ + 'apiVersion'?: string; + /** + * 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. + */ + 'fieldPath'?: string; + /** + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + */ + 'namespace'?: string; + /** + * 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 + */ + 'resourceVersion'?: string; + /** + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + */ + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldPath", + "baseName": "fieldPath", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PersistentVolumeClaim.ts new file mode 100644 index 0000000..1f6e4b8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaim.ts @@ -0,0 +1,75 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PersistentVolumeClaim is a user\'s request for and claim to a persistent volume +*/ +export class IoK8sApiCoreV1PersistentVolumeClaim { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind'?: string; + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec'?: IoK8sApiCoreV1PersistentVolumeClaimSpec; + 'status'?: IoK8sApiCoreV1PersistentVolumeClaimStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatus", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts new file mode 100644 index 0000000..4e02d7f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimCondition contails details about state of pvc +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimCondition { + /** + * 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. + */ + 'lastProbeTime'?: Date; + /** + * 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. + */ + 'lastTransitionTime'?: Date; + /** + * Human-readable message indicating details about last transition. + */ + 'message'?: string; + /** + * 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. + */ + 'reason'?: string; + 'status': string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "lastProbeTime", + "baseName": "lastProbeTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "lastTransitionTime", + "baseName": "lastTransitionTime", + "type": "Date", + "format": "date-time" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimCondition.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum = "FileSystemResizePending" | "Resizing" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts new file mode 100644 index 0000000..9fd36bf --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts @@ -0,0 +1,102 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimSpec { + /** + * AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + */ + 'accessModes'?: Array; + 'dataSource'?: IoK8sApiCoreV1TypedLocalObjectReference; + 'dataSourceRef'?: IoK8sApiCoreV1TypedLocalObjectReference; + 'resources'?: IoK8sApiCoreV1ResourceRequirements; + 'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + */ + 'storageClassName'?: string; + /** + * volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. + */ + 'volumeMode'?: string; + /** + * VolumeName is the binding reference to the PersistentVolume backing this claim. + */ + 'volumeName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessModes", + "baseName": "accessModes", + "type": "Array", + "format": "" + }, + { + "name": "dataSource", + "baseName": "dataSource", + "type": "IoK8sApiCoreV1TypedLocalObjectReference", + "format": "" + }, + { + "name": "dataSourceRef", + "baseName": "dataSourceRef", + "type": "IoK8sApiCoreV1TypedLocalObjectReference", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "IoK8sApiCoreV1ResourceRequirements", + "format": "" + }, + { + "name": "selector", + "baseName": "selector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "storageClassName", + "baseName": "storageClassName", + "type": "string", + "format": "" + }, + { + "name": "volumeMode", + "baseName": "volumeMode", + "type": "string", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts new file mode 100644 index 0000000..950ce17 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts @@ -0,0 +1,95 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimStatus is the current status of a persistent volume claim. +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimStatus { + /** + * 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 + */ + 'accessModes'?: Array; + /** + * 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. + */ + 'allocatedResources'?: { [key: string]: string; }; + /** + * Represents the actual resources of the underlying volume. + */ + 'capacity'?: { [key: string]: string; }; + /** + * Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to \'ResizeStarted\'. + */ + 'conditions'?: Array; + /** + * 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; + /** + * 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 readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accessModes", + "baseName": "accessModes", + "type": "Array", + "format": "" + }, + { + "name": "allocatedResources", + "baseName": "allocatedResources", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "capacity", + "baseName": "capacity", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "phase", + "baseName": "phase", + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum", + "format": "" + }, + { + "name": "resizeStatus", + "baseName": "resizeStatus", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1PersistentVolumeClaimStatus.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum = "Bound" | "Lost" | "Pending" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts new file mode 100644 index 0000000..2aece3c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts @@ -0,0 +1,47 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimTemplate { + 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; + 'spec': IoK8sApiCoreV1PersistentVolumeClaimSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts new file mode 100644 index 0000000..a5f5dbc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1PersistentVolumeClaimVolumeSource { + /** + * 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 + */ + 'claimName': string; + /** + * Will force the ReadOnly setting in VolumeMounts. Default false. + */ + 'readOnly'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "claimName", + "baseName": "claimName", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts new file mode 100644 index 0000000..f87e4f5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Photon Controller persistent disk resource. +*/ +export class IoK8sApiCoreV1PhotonPersistentDiskVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * ID that identifies Photon Controller persistent disk + */ + 'pdID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "pdID", + "baseName": "pdID", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodAffinity.ts new file mode 100644 index 0000000..106c767 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinity.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* Pod affinity is a group of inter pod affinity scheduling rules. +*/ +export class IoK8sApiCoreV1PodAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + /** + * 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. + */ + 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodAffinityTerm.ts new file mode 100644 index 0000000..9d412f8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinityTerm.ts @@ -0,0 +1,66 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* 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 +*/ +export class IoK8sApiCoreV1PodAffinityTerm { + 'labelSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + 'namespaceSelector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + /** + * 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\" + */ + 'namespaces'?: Array; + /** + * 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. + */ + 'topologyKey': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "labelSelector", + "baseName": "labelSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "namespaceSelector", + "baseName": "namespaceSelector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + }, + { + "name": "namespaces", + "baseName": "namespaces", + "type": "Array", + "format": "" + }, + { + "name": "topologyKey", + "baseName": "topologyKey", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodAntiAffinity.ts new file mode 100644 index 0000000..e80d4c3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAntiAffinity.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* Pod anti affinity is a group of inter pod anti affinity scheduling rules. +*/ +export class IoK8sApiCoreV1PodAntiAffinity { + /** + * 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. + */ + 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; + /** + * 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. + */ + 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preferredDuringSchedulingIgnoredDuringExecution", + "baseName": "preferredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + }, + { + "name": "requiredDuringSchedulingIgnoredDuringExecution", + "baseName": "requiredDuringSchedulingIgnoredDuringExecution", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodDNSConfig.ts new file mode 100644 index 0000000..32889cb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfig.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { HttpFile } from '../http/http'; + +/** +* PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. +*/ +export class IoK8sApiCoreV1PodDNSConfig { + /** + * A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + */ + 'nameservers'?: Array; + /** + * 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. + */ + 'options'?: Array; + /** + * 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. + */ + 'searches'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "nameservers", + "baseName": "nameservers", + "type": "Array", + "format": "" + }, + { + "name": "options", + "baseName": "options", + "type": "Array", + "format": "" + }, + { + "name": "searches", + "baseName": "searches", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodDNSConfigOption.ts new file mode 100644 index 0000000..704ed18 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfigOption.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PodDNSConfigOption defines DNS resolver options of a pod. +*/ +export class IoK8sApiCoreV1PodDNSConfigOption { + /** + * Required. + */ + 'name'?: string; + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PodSecurityContext.ts new file mode 100644 index 0000000..90351e8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodSecurityContext.ts @@ -0,0 +1,126 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1PodSecurityContext { + /** + * 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: 1. 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---- If 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. + */ + 'fsGroup'?: number; + /** + * 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. + */ + 'fsGroupChangePolicy'?: string; + /** + * 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. + */ + 'runAsGroup'?: number; + /** + * 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. + */ + 'runAsNonRoot'?: boolean; + /** + * 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. + */ + 'runAsUser'?: number; + 'seLinuxOptions'?: IoK8sApiCoreV1SELinuxOptions; + 'seccompProfile'?: IoK8sApiCoreV1SeccompProfile; + /** + * 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. + */ + 'supplementalGroups'?: Array; + /** + * 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. + */ + 'sysctls'?: Array; + 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsGroup", + "baseName": "fsGroup", + "type": "number", + "format": "" + }, + { + "name": "fsGroupChangePolicy", + "baseName": "fsGroupChangePolicy", + "type": "string", + "format": "" + }, + { + "name": "runAsGroup", + "baseName": "runAsGroup", + "type": "number", + "format": "" + }, + { + "name": "runAsNonRoot", + "baseName": "runAsNonRoot", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUser", + "baseName": "runAsUser", + "type": "number", + "format": "" + }, + { + "name": "seLinuxOptions", + "baseName": "seLinuxOptions", + "type": "IoK8sApiCoreV1SELinuxOptions", + "format": "" + }, + { + "name": "seccompProfile", + "baseName": "seccompProfile", + "type": "IoK8sApiCoreV1SeccompProfile", + "format": "" + }, + { + "name": "supplementalGroups", + "baseName": "supplementalGroups", + "type": "Array", + "format": "int64" + }, + { + "name": "sysctls", + "baseName": "sysctls", + "type": "Array", + "format": "" + }, + { + "name": "windowsOptions", + "baseName": "windowsOptions", + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PortworxVolumeSource.ts new file mode 100644 index 0000000..9b5736e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PortworxVolumeSource.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* PortworxVolumeSource represents a Portworx volume resource. +*/ +export class IoK8sApiCoreV1PortworxVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + /** + * VolumeID uniquely identifies a Portworx volume + */ + 'volumeID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "volumeID", + "baseName": "volumeID", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts new file mode 100644 index 0000000..c4a8189 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1PreferredSchedulingTerm { + 'preference': IoK8sApiCoreV1NodeSelectorTerm; + /** + * Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + */ + 'weight': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "preference", + "baseName": "preference", + "type": "IoK8sApiCoreV1NodeSelectorTerm", + "format": "" + }, + { + "name": "weight", + "baseName": "weight", + "type": "number", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Probe.ts new file mode 100644 index 0000000..d10e524 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Probe.ts @@ -0,0 +1,123 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. +*/ +export class IoK8sApiCoreV1Probe { + 'exec'?: IoK8sApiCoreV1ExecAction; + /** + * Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. + */ + 'failureThreshold'?: number; + 'grpc'?: IoK8sApiCoreV1GRPCAction; + 'httpGet'?: IoK8sApiCoreV1HTTPGetAction; + /** + * 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 + */ + 'initialDelaySeconds'?: number; + /** + * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. + */ + 'periodSeconds'?: number; + /** + * 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. + */ + 'successThreshold'?: number; + 'tcpSocket'?: IoK8sApiCoreV1TCPSocketAction; + /** + * 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. + */ + 'terminationGracePeriodSeconds'?: number; + /** + * 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 + */ + 'timeoutSeconds'?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "exec", + "baseName": "exec", + "type": "IoK8sApiCoreV1ExecAction", + "format": "" + }, + { + "name": "failureThreshold", + "baseName": "failureThreshold", + "type": "number", + "format": "" + }, + { + "name": "grpc", + "baseName": "grpc", + "type": "IoK8sApiCoreV1GRPCAction", + "format": "" + }, + { + "name": "httpGet", + "baseName": "httpGet", + "type": "IoK8sApiCoreV1HTTPGetAction", + "format": "" + }, + { + "name": "initialDelaySeconds", + "baseName": "initialDelaySeconds", + "type": "number", + "format": "" + }, + { + "name": "periodSeconds", + "baseName": "periodSeconds", + "type": "number", + "format": "" + }, + { + "name": "successThreshold", + "baseName": "successThreshold", + "type": "number", + "format": "" + }, + { + "name": "tcpSocket", + "baseName": "tcpSocket", + "type": "IoK8sApiCoreV1TCPSocketAction", + "format": "" + }, + { + "name": "terminationGracePeriodSeconds", + "baseName": "terminationGracePeriodSeconds", + "type": "number", + "format": "" + }, + { + "name": "timeoutSeconds", + "baseName": "timeoutSeconds", + "type": "number", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ProjectedVolumeSource.ts new file mode 100644 index 0000000..2d15bbd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ProjectedVolumeSource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { HttpFile } from '../http/http'; + +/** +* Represents a projected volume source +*/ +export class IoK8sApiCoreV1ProjectedVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * list of volume projections + */ + 'sources'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "sources", + "baseName": "sources", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1QuobyteVolumeSource.ts new file mode 100644 index 0000000..c1d8881 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1QuobyteVolumeSource.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. +*/ +export class IoK8sApiCoreV1QuobyteVolumeSource { + /** + * Group to map volume access to Default is no group + */ + 'group'?: string; + /** + * ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. + */ + 'readOnly'?: boolean; + /** + * 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 + */ + 'registry': string; + /** + * Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin + */ + 'tenant'?: string; + /** + * User to map volume access to Defaults to serivceaccount user + */ + 'user'?: string; + /** + * Volume is a string that references an already created Quobyte volume by name. + */ + 'volume': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "group", + "baseName": "group", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "registry", + "baseName": "registry", + "type": "string", + "format": "" + }, + { + "name": "tenant", + "baseName": "tenant", + "type": "string", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + }, + { + "name": "volume", + "baseName": "volume", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1RBDVolumeSource.ts new file mode 100644 index 0000000..1c3e521 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1RBDVolumeSource.ts @@ -0,0 +1,109 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. +*/ +export class IoK8sApiCoreV1RBDVolumeSource { + /** + * 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 + */ + 'fsType'?: string; + /** + * The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'image': string; + /** + * 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 + */ + 'keyring'?: string; + /** + * A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'monitors': Array; + /** + * The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'pool'?: string; + /** + * 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 + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "image", + "baseName": "image", + "type": "string", + "format": "" + }, + { + "name": "keyring", + "baseName": "keyring", + "type": "string", + "format": "" + }, + { + "name": "monitors", + "baseName": "monitors", + "type": "Array", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ResourceFieldSelector.ts new file mode 100644 index 0000000..e92b2c8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceFieldSelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceFieldSelector represents container resources (cpu, memory) and their output format +*/ +export class IoK8sApiCoreV1ResourceFieldSelector { + /** + * Container name: required for volumes, optional for env vars + */ + 'containerName'?: string; + /** + * 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. The serialization format is: ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn\'t choose the capitalization.) ::= \"e\" | \"E\" No 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. When 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. Before 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: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: 1.5 will be serialized as \"1500m\" 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-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.) This 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. + */ + 'divisor'?: string; + /** + * Required: resource to select + */ + 'resource': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "containerName", + "baseName": "containerName", + "type": "string", + "format": "" + }, + { + "name": "divisor", + "baseName": "divisor", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ResourceRequirements.ts new file mode 100644 index 0000000..e9cdf03 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceRequirements.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceRequirements describes the compute resource requirements. +*/ +export class IoK8sApiCoreV1ResourceRequirements { + /** + * Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + */ + 'limits'?: { [key: string]: string; }; + /** + * 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/ + */ + 'requests'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "limits", + "baseName": "limits", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SELinuxOptions.ts new file mode 100644 index 0000000..0b7217f --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SELinuxOptions.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SELinuxOptions are the labels to be applied to the container +*/ +export class IoK8sApiCoreV1SELinuxOptions { + /** + * Level is SELinux level label that applies to the container. + */ + 'level'?: string; + /** + * Role is a SELinux role label that applies to the container. + */ + 'role'?: string; + /** + * Type is a SELinux type label that applies to the container. + */ + 'type'?: string; + /** + * User is a SELinux user label that applies to the container. + */ + 'user'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "role", + "baseName": "role", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + }, + { + "name": "user", + "baseName": "user", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts new file mode 100644 index 0000000..6c512c3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts @@ -0,0 +1,129 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* ScaleIOVolumeSource represents a persistent ScaleIO volume +*/ +export class IoK8sApiCoreV1ScaleIOVolumeSource { + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". + */ + 'fsType'?: string; + /** + * The host address of the ScaleIO API Gateway. + */ + 'gateway': string; + /** + * The name of the ScaleIO Protection Domain for the configured storage. + */ + 'protectionDomain'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef': IoK8sApiCoreV1LocalObjectReference; + /** + * Flag to enable/disable SSL communication with Gateway, default false + */ + 'sslEnabled'?: boolean; + /** + * Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. + */ + 'storageMode'?: string; + /** + * The ScaleIO Storage Pool associated with the protection domain. + */ + 'storagePool'?: string; + /** + * The name of the storage system as configured in ScaleIO. + */ + 'system': string; + /** + * The name of a volume already created in the ScaleIO system that is associated with this volume source. + */ + 'volumeName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "gateway", + "baseName": "gateway", + "type": "string", + "format": "" + }, + { + "name": "protectionDomain", + "baseName": "protectionDomain", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "sslEnabled", + "baseName": "sslEnabled", + "type": "boolean", + "format": "" + }, + { + "name": "storageMode", + "baseName": "storageMode", + "type": "string", + "format": "" + }, + { + "name": "storagePool", + "baseName": "storagePool", + "type": "string", + "format": "" + }, + { + "name": "system", + "baseName": "system", + "type": "string", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SeccompProfile.ts new file mode 100644 index 0000000..b0fd498 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SeccompProfile.ts @@ -0,0 +1,54 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. +*/ +export class IoK8sApiCoreV1SeccompProfile { + /** + * 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\". + */ + 'localhostProfile'?: string; + /** + * 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; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "localhostProfile", + "baseName": "localhostProfile", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "IoK8sApiCoreV1SeccompProfileTypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1SeccompProfile.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1SeccompProfileTypeEnum = "Localhost" | "RuntimeDefault" | "Unconfined" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts new file mode 100644 index 0000000..d490574 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretEnvSource { + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SecretKeySelector.ts new file mode 100644 index 0000000..8839286 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretKeySelector.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* SecretKeySelector selects a key of a Secret. +*/ +export class IoK8sApiCoreV1SecretKeySelector { + /** + * The key of the secret to select from. Must be a valid secret key. + */ + 'key': string; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SecretProjection.ts new file mode 100644 index 0000000..9383fa8 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretProjection.ts @@ -0,0 +1,62 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretProjection { + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + 'name'?: string; + /** + * Specify whether the Secret or its key must be defined + */ + 'optional'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SecretVolumeSource.ts new file mode 100644 index 0000000..2a8b31a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretVolumeSource.ts @@ -0,0 +1,72 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecretVolumeSource { + /** + * 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. + */ + 'defaultMode'?: number; + /** + * 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 \'..\'. + */ + 'items'?: Array; + /** + * Specify whether the Secret or its keys must be defined + */ + 'optional'?: boolean; + /** + * Name of the secret in the pod\'s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + */ + 'secretName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "defaultMode", + "baseName": "defaultMode", + "type": "number", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "optional", + "baseName": "optional", + "type": "boolean", + "format": "" + }, + { + "name": "secretName", + "baseName": "secretName", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1SecurityContext.ts new file mode 100644 index 0000000..6a18414 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecurityContext.ts @@ -0,0 +1,133 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* 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. +*/ +export class IoK8sApiCoreV1SecurityContext { + /** + * 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. + */ + 'allowPrivilegeEscalation'?: boolean; + 'capabilities'?: IoK8sApiCoreV1Capabilities; + /** + * 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. + */ + 'privileged'?: boolean; + /** + * 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. + */ + 'procMount'?: string; + /** + * 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. + */ + 'readOnlyRootFilesystem'?: boolean; + /** + * 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. + */ + 'runAsGroup'?: number; + /** + * 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. + */ + 'runAsNonRoot'?: boolean; + /** + * 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. + */ + 'runAsUser'?: number; + 'seLinuxOptions'?: IoK8sApiCoreV1SELinuxOptions; + 'seccompProfile'?: IoK8sApiCoreV1SeccompProfile; + 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allowPrivilegeEscalation", + "baseName": "allowPrivilegeEscalation", + "type": "boolean", + "format": "" + }, + { + "name": "capabilities", + "baseName": "capabilities", + "type": "IoK8sApiCoreV1Capabilities", + "format": "" + }, + { + "name": "privileged", + "baseName": "privileged", + "type": "boolean", + "format": "" + }, + { + "name": "procMount", + "baseName": "procMount", + "type": "string", + "format": "" + }, + { + "name": "readOnlyRootFilesystem", + "baseName": "readOnlyRootFilesystem", + "type": "boolean", + "format": "" + }, + { + "name": "runAsGroup", + "baseName": "runAsGroup", + "type": "number", + "format": "" + }, + { + "name": "runAsNonRoot", + "baseName": "runAsNonRoot", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUser", + "baseName": "runAsUser", + "type": "number", + "format": "" + }, + { + "name": "seLinuxOptions", + "baseName": "seLinuxOptions", + "type": "IoK8sApiCoreV1SELinuxOptions", + "format": "" + }, + { + "name": "seccompProfile", + "baseName": "seccompProfile", + "type": "IoK8sApiCoreV1SeccompProfile", + "format": "" + }, + { + "name": "windowsOptions", + "baseName": "windowsOptions", + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts new file mode 100644 index 0000000..c4193be --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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). +*/ +export class IoK8sApiCoreV1ServiceAccountTokenProjection { + /** + * 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. + */ + 'audience'?: string; + /** + * 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. + */ + 'expirationSeconds'?: number; + /** + * Path is the path relative to the mount point of the file to project the token into. + */ + 'path': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "audience", + "baseName": "audience", + "type": "string", + "format": "" + }, + { + "name": "expirationSeconds", + "baseName": "expirationSeconds", + "type": "number", + "format": "" + }, + { + "name": "path", + "baseName": "path", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1ServicePort.ts new file mode 100644 index 0000000..8c66bdb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServicePort.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ServicePort contains information on service\'s port. +*/ +export class IoK8sApiCoreV1ServicePort { + /** + * 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. + */ + 'appProtocol'?: string; + /** + * 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. + */ + 'name'?: string; + /** + * 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 + */ + 'nodePort'?: number; + /** + * The port that will be exposed by this service. + */ + 'port': number; + /** + * 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; + 'targetPort'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "appProtocol", + "baseName": "appProtocol", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nodePort", + "baseName": "nodePort", + "type": "number", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "number", + "format": "" + }, + { + "name": "protocol", + "baseName": "protocol", + "type": "IoK8sApiCoreV1ServicePortProtocolEnum", + "format": "" + }, + { + "name": "targetPort", + "baseName": "targetPort", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1ServicePort.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1ServicePortProtocolEnum = "SCTP" | "TCP" | "UDP" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts new file mode 100644 index 0000000..85769f3 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts @@ -0,0 +1,79 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { HttpFile } from '../http/http'; + +/** +* Represents a StorageOS persistent volume resource. +*/ +export class IoK8sApiCoreV1StorageOSVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + */ + 'readOnly'?: boolean; + 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; + /** + * VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + */ + 'volumeName'?: string; + /** + * VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod\'s namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. + */ + 'volumeNamespace'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "secretRef", + "baseName": "secretRef", + "type": "IoK8sApiCoreV1LocalObjectReference", + "format": "" + }, + { + "name": "volumeName", + "baseName": "volumeName", + "type": "string", + "format": "" + }, + { + "name": "volumeNamespace", + "baseName": "volumeNamespace", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Sysctl.ts new file mode 100644 index 0000000..92b2dc1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Sysctl.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Sysctl defines a kernel parameter to be set +*/ +export class IoK8sApiCoreV1Sysctl { + /** + * Name of a property to set + */ + 'name': string; + /** + * Value of a property to set + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1TCPSocketAction.ts new file mode 100644 index 0000000..859b6b6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TCPSocketAction.ts @@ -0,0 +1,48 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TCPSocketAction describes an action based on opening a socket +*/ +export class IoK8sApiCoreV1TCPSocketAction { + /** + * Optional: Host name to connect to, defaults to the pod IP. + */ + 'host'?: string; + 'port': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "host", + "baseName": "host", + "type": "string", + "format": "" + }, + { + "name": "port", + "baseName": "port", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Toleration.ts new file mode 100644 index 0000000..774036a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Toleration.ts @@ -0,0 +1,85 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . +*/ +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; + /** + * 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. + */ + 'key'?: string; + /** + * 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; + /** + * 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. + */ + 'tolerationSeconds'?: number; + /** + * Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + */ + 'value'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "effect", + "baseName": "effect", + "type": "IoK8sApiCoreV1TolerationEffectEnum", + "format": "" + }, + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "IoK8sApiCoreV1TolerationOperatorEnum", + "format": "" + }, + { + "name": "tolerationSeconds", + "baseName": "tolerationSeconds", + "type": "number", + "format": "" + }, + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApiCoreV1Toleration.attributeTypeMap; + } + + public constructor() { + } +} + + +export type IoK8sApiCoreV1TolerationEffectEnum = "NoExecute" | "NoSchedule" | "PreferNoSchedule" ; +export type IoK8sApiCoreV1TolerationOperatorEnum = "Equal" | "Exists" ; + diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts new file mode 100644 index 0000000..fef071e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +*/ +export class IoK8sApiCoreV1TypedLocalObjectReference { + /** + * 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. + */ + 'apiGroup'?: string; + /** + * Kind is the type of resource being referenced + */ + 'kind': string; + /** + * Name is the name of resource being referenced + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiGroup", + "baseName": "apiGroup", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1Volume.ts new file mode 100644 index 0000000..5f86a72 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Volume.ts @@ -0,0 +1,273 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Volume represents a named volume in a pod that may be accessed by any container in the pod. +*/ +export class IoK8sApiCoreV1Volume { + 'awsElasticBlockStore'?: IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource; + 'azureDisk'?: IoK8sApiCoreV1AzureDiskVolumeSource; + 'azureFile'?: IoK8sApiCoreV1AzureFileVolumeSource; + 'cephfs'?: IoK8sApiCoreV1CephFSVolumeSource; + 'cinder'?: IoK8sApiCoreV1CinderVolumeSource; + 'configMap'?: IoK8sApiCoreV1ConfigMapVolumeSource; + 'csi'?: IoK8sApiCoreV1CSIVolumeSource; + 'downwardAPI'?: IoK8sApiCoreV1DownwardAPIVolumeSource; + 'emptyDir'?: IoK8sApiCoreV1EmptyDirVolumeSource; + 'ephemeral'?: IoK8sApiCoreV1EphemeralVolumeSource; + 'fc'?: IoK8sApiCoreV1FCVolumeSource; + 'flexVolume'?: IoK8sApiCoreV1FlexVolumeSource; + 'flocker'?: IoK8sApiCoreV1FlockerVolumeSource; + 'gcePersistentDisk'?: IoK8sApiCoreV1GCEPersistentDiskVolumeSource; + 'gitRepo'?: IoK8sApiCoreV1GitRepoVolumeSource; + 'glusterfs'?: IoK8sApiCoreV1GlusterfsVolumeSource; + 'hostPath'?: IoK8sApiCoreV1HostPathVolumeSource; + 'iscsi'?: IoK8sApiCoreV1ISCSIVolumeSource; + /** + * 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 + */ + 'name': string; + 'nfs'?: IoK8sApiCoreV1NFSVolumeSource; + 'persistentVolumeClaim'?: IoK8sApiCoreV1PersistentVolumeClaimVolumeSource; + 'photonPersistentDisk'?: IoK8sApiCoreV1PhotonPersistentDiskVolumeSource; + 'portworxVolume'?: IoK8sApiCoreV1PortworxVolumeSource; + 'projected'?: IoK8sApiCoreV1ProjectedVolumeSource; + 'quobyte'?: IoK8sApiCoreV1QuobyteVolumeSource; + 'rbd'?: IoK8sApiCoreV1RBDVolumeSource; + 'scaleIO'?: IoK8sApiCoreV1ScaleIOVolumeSource; + 'secret'?: IoK8sApiCoreV1SecretVolumeSource; + 'storageos'?: IoK8sApiCoreV1StorageOSVolumeSource; + 'vsphereVolume'?: IoK8sApiCoreV1VsphereVirtualDiskVolumeSource; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "awsElasticBlockStore", + "baseName": "awsElasticBlockStore", + "type": "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", + "format": "" + }, + { + "name": "azureDisk", + "baseName": "azureDisk", + "type": "IoK8sApiCoreV1AzureDiskVolumeSource", + "format": "" + }, + { + "name": "azureFile", + "baseName": "azureFile", + "type": "IoK8sApiCoreV1AzureFileVolumeSource", + "format": "" + }, + { + "name": "cephfs", + "baseName": "cephfs", + "type": "IoK8sApiCoreV1CephFSVolumeSource", + "format": "" + }, + { + "name": "cinder", + "baseName": "cinder", + "type": "IoK8sApiCoreV1CinderVolumeSource", + "format": "" + }, + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapVolumeSource", + "format": "" + }, + { + "name": "csi", + "baseName": "csi", + "type": "IoK8sApiCoreV1CSIVolumeSource", + "format": "" + }, + { + "name": "downwardAPI", + "baseName": "downwardAPI", + "type": "IoK8sApiCoreV1DownwardAPIVolumeSource", + "format": "" + }, + { + "name": "emptyDir", + "baseName": "emptyDir", + "type": "IoK8sApiCoreV1EmptyDirVolumeSource", + "format": "" + }, + { + "name": "ephemeral", + "baseName": "ephemeral", + "type": "IoK8sApiCoreV1EphemeralVolumeSource", + "format": "" + }, + { + "name": "fc", + "baseName": "fc", + "type": "IoK8sApiCoreV1FCVolumeSource", + "format": "" + }, + { + "name": "flexVolume", + "baseName": "flexVolume", + "type": "IoK8sApiCoreV1FlexVolumeSource", + "format": "" + }, + { + "name": "flocker", + "baseName": "flocker", + "type": "IoK8sApiCoreV1FlockerVolumeSource", + "format": "" + }, + { + "name": "gcePersistentDisk", + "baseName": "gcePersistentDisk", + "type": "IoK8sApiCoreV1GCEPersistentDiskVolumeSource", + "format": "" + }, + { + "name": "gitRepo", + "baseName": "gitRepo", + "type": "IoK8sApiCoreV1GitRepoVolumeSource", + "format": "" + }, + { + "name": "glusterfs", + "baseName": "glusterfs", + "type": "IoK8sApiCoreV1GlusterfsVolumeSource", + "format": "" + }, + { + "name": "hostPath", + "baseName": "hostPath", + "type": "IoK8sApiCoreV1HostPathVolumeSource", + "format": "" + }, + { + "name": "iscsi", + "baseName": "iscsi", + "type": "IoK8sApiCoreV1ISCSIVolumeSource", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "nfs", + "baseName": "nfs", + "type": "IoK8sApiCoreV1NFSVolumeSource", + "format": "" + }, + { + "name": "persistentVolumeClaim", + "baseName": "persistentVolumeClaim", + "type": "IoK8sApiCoreV1PersistentVolumeClaimVolumeSource", + "format": "" + }, + { + "name": "photonPersistentDisk", + "baseName": "photonPersistentDisk", + "type": "IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", + "format": "" + }, + { + "name": "portworxVolume", + "baseName": "portworxVolume", + "type": "IoK8sApiCoreV1PortworxVolumeSource", + "format": "" + }, + { + "name": "projected", + "baseName": "projected", + "type": "IoK8sApiCoreV1ProjectedVolumeSource", + "format": "" + }, + { + "name": "quobyte", + "baseName": "quobyte", + "type": "IoK8sApiCoreV1QuobyteVolumeSource", + "format": "" + }, + { + "name": "rbd", + "baseName": "rbd", + "type": "IoK8sApiCoreV1RBDVolumeSource", + "format": "" + }, + { + "name": "scaleIO", + "baseName": "scaleIO", + "type": "IoK8sApiCoreV1ScaleIOVolumeSource", + "format": "" + }, + { + "name": "secret", + "baseName": "secret", + "type": "IoK8sApiCoreV1SecretVolumeSource", + "format": "" + }, + { + "name": "storageos", + "baseName": "storageos", + "type": "IoK8sApiCoreV1StorageOSVolumeSource", + "format": "" + }, + { + "name": "vsphereVolume", + "baseName": "vsphereVolume", + "type": "IoK8sApiCoreV1VsphereVirtualDiskVolumeSource", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1VolumeDevice.ts new file mode 100644 index 0000000..72cbd43 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeDevice.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* volumeDevice describes a mapping of a raw block device within a container. +*/ +export class IoK8sApiCoreV1VolumeDevice { + /** + * devicePath is the path inside of the container that the device will be mapped to. + */ + 'devicePath': string; + /** + * name must match the name of a persistentVolumeClaim in the pod + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devicePath", + "baseName": "devicePath", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1VolumeMount.ts new file mode 100644 index 0000000..d4b0337 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeMount.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* VolumeMount describes a mounting of a Volume within a container. +*/ +export class IoK8sApiCoreV1VolumeMount { + /** + * Path within the container at which the volume should be mounted. Must not contain \':\'. + */ + 'mountPath': string; + /** + * 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. + */ + 'mountPropagation'?: string; + /** + * This must match the Name of a Volume. + */ + 'name': string; + /** + * Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. + */ + 'readOnly'?: boolean; + /** + * Path within the volume from which the container\'s volume should be mounted. Defaults to \"\" (volume\'s root). + */ + 'subPath'?: string; + /** + * 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. + */ + 'subPathExpr'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "mountPath", + "baseName": "mountPath", + "type": "string", + "format": "" + }, + { + "name": "mountPropagation", + "baseName": "mountPropagation", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "readOnly", + "baseName": "readOnly", + "type": "boolean", + "format": "" + }, + { + "name": "subPath", + "baseName": "subPath", + "type": "string", + "format": "" + }, + { + "name": "subPathExpr", + "baseName": "subPathExpr", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1VolumeProjection.ts new file mode 100644 index 0000000..076fc11 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeProjection.ts @@ -0,0 +1,63 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * 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'; + +/** +* Projection that may be projected along with other supported volume types +*/ +export class IoK8sApiCoreV1VolumeProjection { + 'configMap'?: IoK8sApiCoreV1ConfigMapProjection; + 'downwardAPI'?: IoK8sApiCoreV1DownwardAPIProjection; + 'secret'?: IoK8sApiCoreV1SecretProjection; + 'serviceAccountToken'?: IoK8sApiCoreV1ServiceAccountTokenProjection; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "configMap", + "baseName": "configMap", + "type": "IoK8sApiCoreV1ConfigMapProjection", + "format": "" + }, + { + "name": "downwardAPI", + "baseName": "downwardAPI", + "type": "IoK8sApiCoreV1DownwardAPIProjection", + "format": "" + }, + { + "name": "secret", + "baseName": "secret", + "type": "IoK8sApiCoreV1SecretProjection", + "format": "" + }, + { + "name": "serviceAccountToken", + "baseName": "serviceAccountToken", + "type": "IoK8sApiCoreV1ServiceAccountTokenProjection", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts new file mode 100644 index 0000000..efddfe2 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* Represents a vSphere volume resource. +*/ +export class IoK8sApiCoreV1VsphereVirtualDiskVolumeSource { + /** + * 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. + */ + 'fsType'?: string; + /** + * Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + */ + 'storagePolicyID'?: string; + /** + * Storage Policy Based Management (SPBM) profile name. + */ + 'storagePolicyName'?: string; + /** + * Path that identifies vSphere volume vmdk + */ + 'volumePath': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fsType", + "baseName": "fsType", + "type": "string", + "format": "" + }, + { + "name": "storagePolicyID", + "baseName": "storagePolicyID", + "type": "string", + "format": "" + }, + { + "name": "storagePolicyName", + "baseName": "storagePolicyName", + "type": "string", + "format": "" + }, + { + "name": "volumePath", + "baseName": "volumePath", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts new file mode 100644 index 0000000..d5df670 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts @@ -0,0 +1,49 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { HttpFile } from '../http/http'; + +/** +* The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) +*/ +export class IoK8sApiCoreV1WeightedPodAffinityTerm { + 'podAffinityTerm': IoK8sApiCoreV1PodAffinityTerm; + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + 'weight': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "podAffinityTerm", + "baseName": "podAffinityTerm", + "type": "IoK8sApiCoreV1PodAffinityTerm", + "format": "" + }, + { + "name": "weight", + "baseName": "weight", + "type": "number", + "format": "" + } ]; + + 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/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts new file mode 100644 index 0000000..85bdc38 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* WindowsSecurityContextOptions contain Windows-specific options and credentials. +*/ +export class IoK8sApiCoreV1WindowsSecurityContextOptions { + /** + * 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. + */ + 'gmsaCredentialSpec'?: string; + /** + * GMSACredentialSpecName is the name of the GMSA credential spec to use. + */ + 'gmsaCredentialSpecName'?: string; + /** + * 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. + */ + 'hostProcess'?: boolean; + /** + * 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. + */ + 'runAsUserName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "gmsaCredentialSpec", + "baseName": "gmsaCredentialSpec", + "type": "string", + "format": "" + }, + { + "name": "gmsaCredentialSpecName", + "baseName": "gmsaCredentialSpecName", + "type": "string", + "format": "" + }, + { + "name": "hostProcess", + "baseName": "hostProcess", + "type": "boolean", + "format": "" + }, + { + "name": "runAsUserName", + "baseName": "runAsUserName", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts new file mode 100644 index 0000000..5d3ef24 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts @@ -0,0 +1,53 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { HttpFile } from '../http/http'; + +/** +* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. +*/ +export class IoK8sApiPolicyV1PodDisruptionBudgetSpec { + 'maxUnavailable'?: string; + 'minAvailable'?: string; + 'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "maxUnavailable", + "baseName": "maxUnavailable", + "type": "string", + "format": "" + }, + { + "name": "minAvailable", + "baseName": "minAvailable", + "type": "string", + "format": "" + }, + { + "name": "selector", + "baseName": "selector", + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts new file mode 100644 index 0000000..8c467a9 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CreateOptions may be provided when creating an API object. +*/ +export class IoK8sApimachineryPkgApisMetaV1CreateOptions { + 'dryRun'?: Array; + 'fieldManager'?: string; + 'fieldValidation'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dryRun", + "baseName": "dryRun", + "type": "Array", + "format": "" + }, + { + "name": "fieldManager", + "baseName": "fieldManager", + "type": "string", + "format": "" + }, + { + "name": "fieldValidation", + "baseName": "fieldValidation", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts new file mode 100644 index 0000000..f6cb5d7 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* +protobuf.options.(gogoproto.goproto_stringer)=false +*/ +export class IoK8sApimachineryPkgApisMetaV1GroupVersionResource { + 'group'?: string; + 'resource'?: string; + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "group", + "baseName": "group", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts new file mode 100644 index 0000000..4d85a23 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts @@ -0,0 +1,52 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApimachineryPkgApisMetaV1LabelSelector { + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + 'matchExpressions'?: Array; + /** + * 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. + */ + 'matchLabels'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchExpressions", + "baseName": "matchExpressions", + "type": "Array", + "format": "" + }, + { + "name": "matchLabels", + "baseName": "matchLabels", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts new file mode 100644 index 0000000..7ef4c7d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. +*/ +export class IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement { + /** + * key is the label key that the selector applies to. + */ + 'key': string; + /** + * operator represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + 'operator': string; + /** + * 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. + */ + 'values'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "string", + "format": "" + }, + { + "name": "values", + "baseName": "values", + "type": "Array", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts new file mode 100644 index 0000000..5947575 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts @@ -0,0 +1,71 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. +*/ +export class IoK8sApimachineryPkgApisMetaV1ListMeta { + /** + * 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. + */ + '_continue'?: string; + /** + * 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. + */ + 'remainingItemCount'?: number; + /** + * 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 + */ + 'resourceVersion'?: string; + /** + * selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + */ + 'selfLink'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "_continue", + "baseName": "continue", + "type": "string", + "format": "" + }, + { + "name": "remainingItemCount", + "baseName": "remainingItemCount", + "type": "number", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "selfLink", + "baseName": "selfLink", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts new file mode 100644 index 0000000..87ccd31 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts @@ -0,0 +1,101 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. +*/ +export class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry { + /** + * 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. + */ + 'apiVersion'?: string; + /** + * FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\" + */ + 'fieldsType'?: string; + /** + * 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; + /** + * Manager is an identifier of the workflow managing these fields. + */ + 'manager'?: string; + /** + * Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are \'Apply\' and \'Update\'. + */ + 'operation'?: string; + /** + * 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. + */ + 'subresource'?: string; + /** + * 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. + */ + 'time'?: Date; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "fieldsType", + "baseName": "fieldsType", + "type": "string", + "format": "" + }, + { + "name": "fieldsV1", + "baseName": "fieldsV1", + "type": "any", + "format": "" + }, + { + "name": "manager", + "baseName": "manager", + "type": "string", + "format": "" + }, + { + "name": "operation", + "baseName": "operation", + "type": "string", + "format": "" + }, + { + "name": "subresource", + "baseName": "subresource", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts new file mode 100644 index 0000000..54b5134 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts @@ -0,0 +1,193 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { HttpFile } from '../http/http'; + +/** +* ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. +*/ +export class IoK8sApimachineryPkgApisMetaV1ObjectMeta { + /** + * 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 + */ + 'annotations'?: { [key: string]: string; }; + /** + * 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. + */ + 'clusterName'?: string; + /** + * 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. + */ + 'creationTimestamp'?: Date; + /** + * 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. + */ + 'deletionGracePeriodSeconds'?: number; + /** + * 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. + */ + 'deletionTimestamp'?: Date; + /** + * 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. + */ + 'finalizers'?: Array; + /** + * 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. If 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). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + */ + 'generateName'?: string; + /** + * A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. + */ + 'generation'?: number; + /** + * 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 + */ + 'labels'?: { [key: string]: string; }; + /** + * 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. + */ + 'managedFields'?: Array; + /** + * 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 + */ + 'name'?: string; + /** + * 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. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces + */ + 'namespace'?: string; + /** + * 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. + */ + 'ownerReferences'?: Array; + /** + * 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. Populated 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 + */ + 'resourceVersion'?: string; + /** + * SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + */ + 'selfLink'?: string; + /** + * 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. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + */ + 'uid'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "annotations", + "baseName": "annotations", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "clusterName", + "baseName": "clusterName", + "type": "string", + "format": "" + }, + { + "name": "creationTimestamp", + "baseName": "creationTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "deletionGracePeriodSeconds", + "baseName": "deletionGracePeriodSeconds", + "type": "number", + "format": "" + }, + { + "name": "deletionTimestamp", + "baseName": "deletionTimestamp", + "type": "Date", + "format": "date-time" + }, + { + "name": "finalizers", + "baseName": "finalizers", + "type": "Array", + "format": "" + }, + { + "name": "generateName", + "baseName": "generateName", + "type": "string", + "format": "" + }, + { + "name": "generation", + "baseName": "generation", + "type": "number", + "format": "" + }, + { + "name": "labels", + "baseName": "labels", + "type": "{ [key: string]: string; }", + "format": "" + }, + { + "name": "managedFields", + "baseName": "managedFields", + "type": "Array", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "ownerReferences", + "baseName": "ownerReferences", + "type": "Array", + "format": "" + }, + { + "name": "resourceVersion", + "baseName": "resourceVersion", + "type": "string", + "format": "" + }, + { + "name": "selfLink", + "baseName": "selfLink", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts new file mode 100644 index 0000000..9134a62 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts @@ -0,0 +1,91 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* 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. +*/ +export class IoK8sApimachineryPkgApisMetaV1OwnerReference { + /** + * API version of the referent. + */ + 'apiVersion': string; + /** + * 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. + */ + 'blockOwnerDeletion'?: boolean; + /** + * If true, this reference points to the managing controller. + */ + 'controller'?: boolean; + /** + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + */ + 'kind': string; + /** + * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + */ + 'name': string; + /** + * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + */ + 'uid': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "blockOwnerDeletion", + "baseName": "blockOwnerDeletion", + "type": "boolean", + "format": "" + }, + { + "name": "controller", + "baseName": "controller", + "type": "boolean", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + 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/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts new file mode 100644 index 0000000..dcc7a46 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts @@ -0,0 +1,61 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. +*/ +export class IoK8sApimachineryPkgApisMetaV1StatusCause { + /** + * 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. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" + */ + 'field'?: string; + /** + * A human-readable description of the cause of the error. This field may be presented as-is to a reader. + */ + 'message'?: string; + /** + * A machine-readable description of the cause of the error. If this value is empty there is no information available. + */ + 'reason'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "field", + "baseName": "field", + "type": "string", + "format": "" + }, + { + "name": "message", + "baseName": "message", + "type": "string", + "format": "" + }, + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return IoK8sApimachineryPkgApisMetaV1StatusCause.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/plugins/argo-workflows/src/api/generated/models/ObjectSerializer.ts b/plugins/argo-workflows/src/api/generated/models/ObjectSerializer.ts new file mode 100644 index 0000000..59bd7bd --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/ObjectSerializer.ts @@ -0,0 +1,1380 @@ +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'; + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container , IoK8sApiCoreV1ContainerImagePullPolicyEnum , IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort , IoK8sApiCoreV1ContainerPortProtocolEnum } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction , IoK8sApiCoreV1HTTPGetActionSchemeEnum } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement , IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition , IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus , IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile , IoK8sApiCoreV1SeccompProfileTypeEnum } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort , IoK8sApiCoreV1ServicePortProtocolEnum } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration, IoK8sApiCoreV1TolerationEffectEnum , IoK8sApiCoreV1TolerationOperatorEnum } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +/* tslint:disable:no-unused-variable */ +let primitives = [ + "string", + "boolean", + "double", + "integer", + "long", + "float", + "number", + "any" + ]; + +const supportedMediaTypes: { [mediaType: string]: number } = { + "application/json": Infinity, + "application/octet-stream": 0, + "application/x-www-form-urlencoded": 0 +} + + +let enumsMap: Set = new Set([ + "IoK8sApiCoreV1ContainerImagePullPolicyEnum", + "IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum", + "IoK8sApiCoreV1ContainerPortProtocolEnum", + "IoK8sApiCoreV1HTTPGetActionSchemeEnum", + "IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum", + "IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum", + "IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum", + "IoK8sApiCoreV1SeccompProfileTypeEnum", + "IoK8sApiCoreV1ServicePortProtocolEnum", + "IoK8sApiCoreV1TolerationEffectEnum", + "IoK8sApiCoreV1TolerationOperatorEnum", +]); + +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.has(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, format: 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 date of data) { + transformedData.push(ObjectSerializer.serialize(date, subType, format)); + } + return transformedData; + } else if (type === "Date") { + if (format == "date") { + let month = data.getMonth()+1 + month = month < 10 ? "0" + month.toString() : month.toString() + let day = data.getDate(); + day = day < 10 ? "0" + day.toString() : day.toString(); + + return data.getFullYear() + "-" + month + "-" + day; + } else { + return data.toISOString(); + } + } else { + if (enumsMap.has(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 attributeType of attributeTypes) { + instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type, attributeType.format); + } + return instance; + } + } + + public static deserialize(data: any, type: string, format: 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 date of data) { + transformedData.push(ObjectSerializer.deserialize(date, subType, format)); + } + return transformedData; + } else if (type === "Date") { + return new Date(data); + } else { + if (enumsMap.has(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 attributeType of attributeTypes) { + let value = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type, attributeType.format); + if (value !== undefined) { + instance[attributeType.name] = value; + } + } + return instance; + } + } + + + /** + * Normalize media type + * + * We currently do not handle any media types attributes, i.e. anything + * after a semicolon. All content is assumed to be UTF-8 compatible. + */ + public static normalizeMediaType(mediaType: string | undefined): string | undefined { + if (mediaType === undefined) { + return undefined; + } + return mediaType.split(";")[0].trim().toLowerCase(); + } + + /** + * From a list of possible media types, choose the one we can handle best. + * + * The order of the given media types does not have any impact on the choice + * made. + */ + public static getPreferredMediaType(mediaTypes: Array): string { + /** According to OAS 3 we should default to json */ + if (!mediaTypes) { + return "application/json"; + } + + const normalMediaTypes = mediaTypes.map(this.normalizeMediaType); + let selectedMediaType: string | undefined = undefined; + let selectedRank: number = -Infinity; + for (const mediaType of normalMediaTypes) { + if (supportedMediaTypes[mediaType!] > selectedRank) { + selectedMediaType = mediaType; + selectedRank = supportedMediaTypes[mediaType!]; + } + } + + if (selectedMediaType === undefined) { + throw new Error("None of the given media types are supported: " + mediaTypes.join(", ")); + } + + return selectedMediaType!; + } + + /** + * Convert data to a string according the given media type + */ + public static stringify(data: any, mediaType: string): string { + if (mediaType === "text/plain") { + return String(data); + } + + if (mediaType === "application/json") { + return JSON.stringify(data); + } + + throw new Error("The mediaType " + mediaType + " is not supported by ObjectSerializer.stringify."); + } + + /** + * Parse data from a string according to the given media type + */ + public static parse(rawData: string, mediaType: string | undefined) { + if (mediaType === undefined) { + throw new Error("Cannot parse content. No Content-Type defined."); + } + + if (mediaType === "text/plain") { + return rawData; + } + + if (mediaType === "application/json") { + return JSON.parse(rawData); + } + + if (mediaType === "text/html") { + return rawData; + } + + throw new Error("The mediaType " + mediaType + " is not supported by ObjectSerializer.parse."); + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts b/plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts new file mode 100644 index 0000000..334ebca --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts @@ -0,0 +1,51 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { HttpFile } from '../http/http'; + +export class SensorCreateSensorRequest { + 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; + 'namespace'?: string; + 'sensor'?: IoArgoprojEventsV1alpha1Sensor; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createOptions", + "baseName": "createOptions", + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensor", + "baseName": "sensor", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + } ]; + + 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/models/SensorLogEntry.ts new file mode 100644 index 0000000..d0baeb4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/SensorLogEntry.ts @@ -0,0 +1,87 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class SensorLogEntry { + 'dependencyName'?: string; + 'eventContext'?: string; + 'level'?: string; + 'msg'?: string; + 'namespace'?: string; + 'sensorName'?: string; + /** + * 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. + */ + 'time'?: Date; + 'triggerName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "dependencyName", + "baseName": "dependencyName", + "type": "string", + "format": "" + }, + { + "name": "eventContext", + "baseName": "eventContext", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "string", + "format": "" + }, + { + "name": "msg", + "baseName": "msg", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensorName", + "baseName": "sensorName", + "type": "string", + "format": "" + }, + { + "name": "time", + "baseName": "time", + "type": "Date", + "format": "date-time" + }, + { + "name": "triggerName", + "baseName": "triggerName", + "type": "string", + "format": "" + } ]; + + 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/models/SensorSensorWatchEvent.ts new file mode 100644 index 0000000..9c3bec5 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/SensorSensorWatchEvent.ts @@ -0,0 +1,43 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { HttpFile } from '../http/http'; + +export class SensorSensorWatchEvent { + 'object'?: IoArgoprojEventsV1alpha1Sensor; + 'type'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "object", + "baseName": "object", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + 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/models/SensorUpdateSensorRequest.ts new file mode 100644 index 0000000..e817dbc --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/SensorUpdateSensorRequest.ts @@ -0,0 +1,50 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { HttpFile } from '../http/http'; + +export class SensorUpdateSensorRequest { + 'name'?: string; + 'namespace'?: string; + 'sensor'?: IoArgoprojEventsV1alpha1Sensor; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "sensor", + "baseName": "sensor", + "type": "IoArgoprojEventsV1alpha1Sensor", + "format": "" + } ]; + + 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/models/StreamResultOfEventsourceEventSourceWatchEvent.ts new file mode 100644 index 0000000..3b246f4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceEventSourceWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfEventsourceEventSourceWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: EventsourceEventSourceWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "EventsourceEventSourceWatchEvent", + "format": "" + } ]; + + 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/models/StreamResultOfEventsourceLogEntry.ts new file mode 100644 index 0000000..77eb233 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceLogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfEventsourceLogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: EventsourceLogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "EventsourceLogEntry", + "format": "" + } ]; + + 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/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts new file mode 100644 index 0000000..90188b6 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoArgoprojWorkflowV1alpha1LogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoArgoprojWorkflowV1alpha1LogEntry", + "format": "" + } ]; + + 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/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts new file mode 100644 index 0000000..0cbde75 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoArgoprojWorkflowV1alpha1WorkflowWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoArgoprojWorkflowV1alpha1WorkflowWatchEvent", + "format": "" + } ]; + + 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/models/StreamResultOfIoK8sApiCoreV1Event.ts new file mode 100644 index 0000000..2561ab1 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoK8sApiCoreV1Event.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfIoK8sApiCoreV1Event { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: IoK8sApiCoreV1Event; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "IoK8sApiCoreV1Event", + "format": "" + } ]; + + 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/models/StreamResultOfSensorLogEntry.ts new file mode 100644 index 0000000..6015c32 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorLogEntry.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfSensorLogEntry { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: SensorLogEntry; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "SensorLogEntry", + "format": "" + } ]; + + 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/models/StreamResultOfSensorSensorWatchEvent.ts new file mode 100644 index 0000000..2954ca4 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorSensorWatchEvent.ts @@ -0,0 +1,44 @@ +/** + * Argo Workflows API + * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ + * + * OpenAPI spec version: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { HttpFile } from '../http/http'; + +export class StreamResultOfSensorSensorWatchEvent { + 'error'?: GrpcGatewayRuntimeStreamError; + 'result'?: SensorSensorWatchEvent; + + static readonly discriminator: string | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "error", + "baseName": "error", + "type": "GrpcGatewayRuntimeStreamError", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "SensorSensorWatchEvent", + "format": "" + } ]; + + 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 new file mode 100644 index 0000000..0bdefaa --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/models/all.ts @@ -0,0 +1,381 @@ +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/package.json b/plugins/argo-workflows/src/api/generated/package.json new file mode 100644 index 0000000..c79569e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/package.json @@ -0,0 +1,36 @@ +{ + "name": "", + "version": "", + "description": "OpenAPI client for ", + "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, + "keywords": [ + "fetch", + "typescript", + "openapi-client", + "openapi-generator" + ], + "license": "Unlicense", + "main": "./dist/index.js", + "type": "commonjs", + "exports": { + ".": "./dist/index.js" + }, + "typings": "./dist/index.d.ts", + "scripts": { + "build": "tsc", + "prepare": "npm run build" + }, + "dependencies": { + "whatwg-fetch": "^3.0.0", + "es6-promise": "^4.2.4", + "url-parse": "^1.4.3" + }, + "devDependencies": { + "typescript": "^4.0", + "@types/url-parse": "1.4.4" + } +} diff --git a/plugins/argo-workflows/src/api/generated/rxjsStub.ts b/plugins/argo-workflows/src/api/generated/rxjsStub.ts new file mode 100644 index 0000000..4c73715 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/rxjsStub.ts @@ -0,0 +1,27 @@ +export class Observable { + constructor(private promise: Promise) {} + + toPromise() { + return this.promise; + } + + pipe(callback: (value: T) => S | Promise): Observable { + return new Observable(this.promise.then(callback)); + } +} + +export function from(promise: Promise) { + return new Observable(promise); +} + +export function of(value: T) { + return new Observable(Promise.resolve(value)); +} + +export function mergeMap(callback: (value: T) => Observable) { + return (value: T) => callback(value).toPromise(); +} + +export function map(callback: any) { + return callback; +} diff --git a/plugins/argo-workflows/src/api/generated/servers.ts b/plugins/argo-workflows/src/api/generated/servers.ts new file mode 100644 index 0000000..9e8a781 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/servers.ts @@ -0,0 +1,56 @@ +import { RequestContext, HttpMethod } from "./http/http"; + +export interface BaseServerConfiguration { + makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; +} + +/** + * + * Represents the configuration of a server including its + * url template and variable configuration based on the url. + * + */ +export class ServerConfiguration implements BaseServerConfiguration { + public constructor(private url: string, private variableConfiguration: T) {} + + /** + * Sets the value of the variables of this server. Variables are included in + * the `url` of this ServerConfiguration in the form `{variableName}` + * + * @param variableConfiguration a partial variable configuration for the + * variables contained in the url + */ + public setVariables(variableConfiguration: Partial) { + Object.assign(this.variableConfiguration, variableConfiguration); + } + + public getConfiguration(): T { + return this.variableConfiguration + } + + private getUrl() { + let replacedUrl = this.url; + for (const key in this.variableConfiguration) { + var re = new RegExp("{" + key + "}","g"); + replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]); + } + return replacedUrl + } + + /** + * Creates a new request context for this server using the url with variables + * replaced with their respective values and the endpoint of the request appended. + * + * @param endpoint the endpoint to be queried on the server + * @param httpMethod httpMethod to be used + * + */ + public makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext { + return new RequestContext(this.getUrl() + endpoint, httpMethod); + } +} + +export const server1 = new ServerConfiguration<{ }>("http://localhost:2746", { }) +export const server2 = new ServerConfiguration<{ }>("https://localhost:2746", { }) + +export const servers = [server1, server2]; diff --git a/plugins/argo-workflows/src/api/generated/tsconfig.json b/plugins/argo-workflows/src/api/generated/tsconfig.json new file mode 100644 index 0000000..aa173eb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "strict": true, + /* Basic Options */ + "target": "es5", + "moduleResolution": "node", + "declaration": true, + + /* Additional Checks */ + "noUnusedLocals": false, /* Report errors on unused locals. */ // TODO: reenable (unused imports!) + "noUnusedParameters": false, /* Report errors on unused parameters. */ // TODO: set to true again + "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + + "removeComments": true, + "sourceMap": true, + "outDir": "./dist", + "noLib": false, + "lib": [ "es6", "dom" ], + }, + "exclude": [ + "dist", + "node_modules" + ], + "filesGlob": [ + "./**/*.ts", + ] +} diff --git a/plugins/argo-workflows/src/api/generated/types/ObjectParamAPI.ts b/plugins/argo-workflows/src/api/generated/types/ObjectParamAPI.ts new file mode 100644 index 0000000..251525a --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/types/ObjectParamAPI.ts @@ -0,0 +1,3306 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +import { ObservableArchivedWorkflowServiceApi } from "./ObservableAPI"; +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceDeleteArchivedWorkflow + */ + uid: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceDeleteArchivedWorkflow + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + uid: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + namespace?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceGetArchivedWorkflow + */ + name?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelKeys + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflowLabelValues + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + namePrefix?: string + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceListArchivedWorkflows + */ + namespace?: string +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceResubmitArchivedWorkflow + */ + uid: string + /** + * + * @type IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceResubmitArchivedWorkflow + */ + body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest +} + +export interface ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest { + /** + * + * @type string + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceRetryArchivedWorkflow + */ + uid: string + /** + * + * @type IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest + * @memberof ArchivedWorkflowServiceApiarchivedWorkflowServiceRetryArchivedWorkflow + */ + body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest +} + +export class ObjectArchivedWorkflowServiceApi { + private api: ObservableArchivedWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: ArchivedWorkflowServiceApiRequestFactory, responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor) { + this.api = new ObservableArchivedWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceDeleteArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceDeleteArchivedWorkflow(param.uid, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceGetArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceGetArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceGetArchivedWorkflow(param.uid, param.namespace, param.name, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelKeysRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflowLabelKeys(param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflowLabelValues(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowLabelValuesRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflowLabelValues(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceListArchivedWorkflows(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceListArchivedWorkflowsRequest = {}, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceListArchivedWorkflows(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.namePrefix, param.namespace, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceResubmitArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceResubmitArchivedWorkflow(param.uid, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public archivedWorkflowServiceRetryArchivedWorkflow(param: ArchivedWorkflowServiceApiArchivedWorkflowServiceRetryArchivedWorkflowRequest, options?: Configuration): Promise { + return this.api.archivedWorkflowServiceRetryArchivedWorkflow(param.uid, param.body, options).toPromise(); + } + +} + +import { ObservableArtifactServiceApi } from "./ObservableAPI"; +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; + +export interface ArtifactServiceApiArtifactServiceGetArtifactFileRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + namespace: string + /** + * + * @type 'workflow' | 'archived-workflows ' + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + idDiscriminator: 'workflow' | 'archived-workflows ' + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + id: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + artifactName: string + /** + * + * @type 'outputs' + * @memberof ArtifactServiceApiartifactServiceGetArtifactFile + */ + artifactDiscriminator: 'outputs' +} + +export interface ArtifactServiceApiArtifactServiceGetInputArtifactRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + namespace: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + name: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifact + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + uid: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetInputArtifactByUID + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetOutputArtifactRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + namespace: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + name: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifact + */ + artifactName: string +} + +export interface ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest { + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + uid: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + nodeId: string + /** + * + * @type string + * @memberof ArtifactServiceApiartifactServiceGetOutputArtifactByUID + */ + artifactName: string +} + +export class ObjectArtifactServiceApi { + private api: ObservableArtifactServiceApi + + public constructor(configuration: Configuration, requestFactory?: ArtifactServiceApiRequestFactory, responseProcessor?: ArtifactServiceApiResponseProcessor) { + this.api = new ObservableArtifactServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * Get an artifact. + * @param param the request object + */ + public artifactServiceGetArtifactFile(param: ArtifactServiceApiArtifactServiceGetArtifactFileRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetArtifactFile(param.namespace, param.idDiscriminator, param.id, param.nodeId, param.artifactName, param.artifactDiscriminator, options).toPromise(); + } + + /** + * Get an input artifact. + * @param param the request object + */ + public artifactServiceGetInputArtifact(param: ArtifactServiceApiArtifactServiceGetInputArtifactRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetInputArtifact(param.namespace, param.name, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an input artifact by UID. + * @param param the request object + */ + public artifactServiceGetInputArtifactByUID(param: ArtifactServiceApiArtifactServiceGetInputArtifactByUIDRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetInputArtifactByUID(param.uid, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an output artifact. + * @param param the request object + */ + public artifactServiceGetOutputArtifact(param: ArtifactServiceApiArtifactServiceGetOutputArtifactRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetOutputArtifact(param.namespace, param.name, param.nodeId, param.artifactName, options).toPromise(); + } + + /** + * Get an output artifact by UID. + * @param param the request object + */ + public artifactServiceGetOutputArtifactByUID(param: ArtifactServiceApiArtifactServiceGetOutputArtifactByUIDRequest, options?: Configuration): Promise { + return this.api.artifactServiceGetOutputArtifactByUID(param.uid, param.nodeId, param.artifactName, options).toPromise(); + } + +} + +import { ObservableClusterWorkflowTemplateServiceApi } from "./ObservableAPI"; +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceCreateClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest { + /** + * + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + name: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate + */ + deleteOptionsDryRun?: Array +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest { + /** + * + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceGetClusterWorkflowTemplate + */ + name: string + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceGetClusterWorkflowTemplate + */ + getOptionsResourceVersion?: string +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceLintClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest { + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceListClusterWorkflowTemplates + */ + listOptionsContinue?: string +} + +export interface ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest { + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest + * @memberof ClusterWorkflowTemplateServiceApiclusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest +} + +export class ObjectClusterWorkflowTemplateServiceApi { + private api: ObservableClusterWorkflowTemplateServiceApi + + public constructor(configuration: Configuration, requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor) { + this.api = new ObservableClusterWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceCreateClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceDeleteClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceGetClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceLintClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceListClusterWorkflowTemplates(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceListClusterWorkflowTemplatesRequest = {}, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(param: ClusterWorkflowTemplateServiceApiClusterWorkflowTemplateServiceUpdateClusterWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(param.name, param.body, options).toPromise(); + } + +} + +import { ObservableCronWorkflowServiceApi } from "./ObservableAPI"; +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; + +export interface CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceCreateCronWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceCreateCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + name: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof CronWorkflowServiceApicronWorkflowServiceDeleteCronWorkflow + */ + deleteOptionsDryRun?: Array +} + +export interface CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + name: string + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceGetCronWorkflow + */ + getOptionsResourceVersion?: string +} + +export interface CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceLintCronWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceLintCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceListCronWorkflows + */ + listOptionsContinue?: string +} + +export interface CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceResumeCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceSuspendCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest +} + +export interface CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest { + /** + * + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + namespace: string + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest + * @memberof CronWorkflowServiceApicronWorkflowServiceUpdateCronWorkflow + */ + body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest +} + +export class ObjectCronWorkflowServiceApi { + private api: ObservableCronWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: CronWorkflowServiceApiRequestFactory, responseProcessor?: CronWorkflowServiceApiResponseProcessor) { + this.api = new ObservableCronWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceCreateCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceCreateCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceCreateCronWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceDeleteCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceDeleteCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceDeleteCronWorkflow(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceGetCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceGetCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceGetCronWorkflow(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceLintCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceLintCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceLintCronWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceListCronWorkflows(param: CronWorkflowServiceApiCronWorkflowServiceListCronWorkflowsRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceListCronWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceResumeCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceResumeCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceResumeCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceSuspendCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceSuspendCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceSuspendCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public cronWorkflowServiceUpdateCronWorkflow(param: CronWorkflowServiceApiCronWorkflowServiceUpdateCronWorkflowRequest, options?: Configuration): Promise { + return this.api.cronWorkflowServiceUpdateCronWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + +} + +import { ObservableEventServiceApi } from "./ObservableAPI"; +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; + +export interface EventServiceApiEventServiceListWorkflowEventBindingsRequest { + /** + * + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceListWorkflowEventBindings + */ + listOptionsContinue?: string +} + +export interface EventServiceApiEventServiceReceiveEventRequest { + /** + * 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. + * @type string + * @memberof EventServiceApieventServiceReceiveEvent + */ + namespace: string + /** + * 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)` + * @type string + * @memberof EventServiceApieventServiceReceiveEvent + */ + discriminator: string + /** + * The event itself can be any data. + * @type any + * @memberof EventServiceApieventServiceReceiveEvent + */ + body: any +} + +export class ObjectEventServiceApi { + private api: ObservableEventServiceApi + + public constructor(configuration: Configuration, requestFactory?: EventServiceApiRequestFactory, responseProcessor?: EventServiceApiResponseProcessor) { + this.api = new ObservableEventServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public eventServiceListWorkflowEventBindings(param: EventServiceApiEventServiceListWorkflowEventBindingsRequest, options?: Configuration): Promise { + return this.api.eventServiceListWorkflowEventBindings(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventServiceReceiveEvent(param: EventServiceApiEventServiceReceiveEventRequest, options?: Configuration): Promise { + return this.api.eventServiceReceiveEvent(param.namespace, param.discriminator, param.body, options).toPromise(); + } + +} + +import { ObservableEventSourceServiceApi } from "./ObservableAPI"; +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; + +export interface EventSourceServiceApiEventSourceServiceCreateEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceCreateEventSource + */ + namespace: string + /** + * + * @type EventsourceCreateEventSourceRequest + * @memberof EventSourceServiceApieventSourceServiceCreateEventSource + */ + body: EventsourceCreateEventSourceRequest +} + +export interface EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + name: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof EventSourceServiceApieventSourceServiceDeleteEventSource + */ + deleteOptionsDryRun?: Array +} + +export interface EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + namespace: string + /** + * optional - only return entries for this event source. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + name?: string + /** + * optional - only return entries for this event source type (e.g. `webhook`). + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + eventSourceType?: string + /** + * optional - only return entries for this event name (e.g. `example`). + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + eventName?: string + /** + * optional - only return entries where `msg` matches this regular expression. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + grep?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceEventSourcesLogs + */ + podLogOptionsInsecureSkipTLSVerifyBackend?: boolean +} + +export interface EventSourceServiceApiEventSourceServiceGetEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceGetEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceGetEventSource + */ + name: string +} + +export interface EventSourceServiceApiEventSourceServiceListEventSourcesRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceListEventSources + */ + listOptionsContinue?: string +} + +export interface EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + namespace: string + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + name: string + /** + * + * @type EventsourceUpdateEventSourceRequest + * @memberof EventSourceServiceApieventSourceServiceUpdateEventSource + */ + body: EventsourceUpdateEventSourceRequest +} + +export interface EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest { + /** + * + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof EventSourceServiceApieventSourceServiceWatchEventSources + */ + listOptionsContinue?: string +} + +export class ObjectEventSourceServiceApi { + private api: ObservableEventSourceServiceApi + + public constructor(configuration: Configuration, requestFactory?: EventSourceServiceApiRequestFactory, responseProcessor?: EventSourceServiceApiResponseProcessor) { + this.api = new ObservableEventSourceServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public eventSourceServiceCreateEventSource(param: EventSourceServiceApiEventSourceServiceCreateEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceCreateEventSource(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceDeleteEventSource(param: EventSourceServiceApiEventSourceServiceDeleteEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceDeleteEventSource(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceEventSourcesLogs(param: EventSourceServiceApiEventSourceServiceEventSourcesLogsRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceEventSourcesLogs(param.namespace, param.name, param.eventSourceType, param.eventName, param.grep, param.podLogOptionsContainer, param.podLogOptionsFollow, param.podLogOptionsPrevious, param.podLogOptionsSinceSeconds, param.podLogOptionsSinceTimeSeconds, param.podLogOptionsSinceTimeNanos, param.podLogOptionsTimestamps, param.podLogOptionsTailLines, param.podLogOptionsLimitBytes, param.podLogOptionsInsecureSkipTLSVerifyBackend, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceGetEventSource(param: EventSourceServiceApiEventSourceServiceGetEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceGetEventSource(param.namespace, param.name, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceListEventSources(param: EventSourceServiceApiEventSourceServiceListEventSourcesRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceListEventSources(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceUpdateEventSource(param: EventSourceServiceApiEventSourceServiceUpdateEventSourceRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceUpdateEventSource(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public eventSourceServiceWatchEventSources(param: EventSourceServiceApiEventSourceServiceWatchEventSourcesRequest, options?: Configuration): Promise { + return this.api.eventSourceServiceWatchEventSources(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + +} + +import { ObservableInfoServiceApi } from "./ObservableAPI"; +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; + +export interface InfoServiceApiInfoServiceCollectEventRequest { + /** + * + * @type IoArgoprojWorkflowV1alpha1CollectEventRequest + * @memberof InfoServiceApiinfoServiceCollectEvent + */ + body: IoArgoprojWorkflowV1alpha1CollectEventRequest +} + +export interface InfoServiceApiInfoServiceGetInfoRequest { +} + +export interface InfoServiceApiInfoServiceGetUserInfoRequest { +} + +export interface InfoServiceApiInfoServiceGetVersionRequest { +} + +export class ObjectInfoServiceApi { + private api: ObservableInfoServiceApi + + public constructor(configuration: Configuration, requestFactory?: InfoServiceApiRequestFactory, responseProcessor?: InfoServiceApiResponseProcessor) { + this.api = new ObservableInfoServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public infoServiceCollectEvent(param: InfoServiceApiInfoServiceCollectEventRequest, options?: Configuration): Promise { + return this.api.infoServiceCollectEvent(param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetInfo(param: InfoServiceApiInfoServiceGetInfoRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetInfo( options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetUserInfo(param: InfoServiceApiInfoServiceGetUserInfoRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetUserInfo( options).toPromise(); + } + + /** + * @param param the request object + */ + public infoServiceGetVersion(param: InfoServiceApiInfoServiceGetVersionRequest = {}, options?: Configuration): Promise { + return this.api.infoServiceGetVersion( options).toPromise(); + } + +} + +import { ObservableSensorServiceApi } from "./ObservableAPI"; +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; + +export interface SensorServiceApiSensorServiceCreateSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceCreateSensor + */ + namespace: string + /** + * + * @type SensorCreateSensorRequest + * @memberof SensorServiceApisensorServiceCreateSensor + */ + body: SensorCreateSensorRequest +} + +export interface SensorServiceApiSensorServiceDeleteSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + name: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof SensorServiceApisensorServiceDeleteSensor + */ + deleteOptionsDryRun?: Array +} + +export interface SensorServiceApiSensorServiceGetSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + name: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceGetSensor + */ + getOptionsResourceVersion?: string +} + +export interface SensorServiceApiSensorServiceListSensorsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceListSensors + */ + listOptionsContinue?: string +} + +export interface SensorServiceApiSensorServiceSensorsLogsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + namespace: string + /** + * optional - only return entries for this sensor name. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + name?: string + /** + * optional - only return entries for this trigger. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + triggerName?: string + /** + * option - only return entries where `msg` contains this regular expressions. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + grep?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceSensorsLogs + */ + podLogOptionsInsecureSkipTLSVerifyBackend?: boolean +} + +export interface SensorServiceApiSensorServiceUpdateSensorRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + namespace: string + /** + * + * @type string + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + name: string + /** + * + * @type SensorUpdateSensorRequest + * @memberof SensorServiceApisensorServiceUpdateSensor + */ + body: SensorUpdateSensorRequest +} + +export interface SensorServiceApiSensorServiceWatchSensorsRequest { + /** + * + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof SensorServiceApisensorServiceWatchSensors + */ + listOptionsContinue?: string +} + +export class ObjectSensorServiceApi { + private api: ObservableSensorServiceApi + + public constructor(configuration: Configuration, requestFactory?: SensorServiceApiRequestFactory, responseProcessor?: SensorServiceApiResponseProcessor) { + this.api = new ObservableSensorServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public sensorServiceCreateSensor(param: SensorServiceApiSensorServiceCreateSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceCreateSensor(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceDeleteSensor(param: SensorServiceApiSensorServiceDeleteSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceDeleteSensor(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceGetSensor(param: SensorServiceApiSensorServiceGetSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceGetSensor(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceListSensors(param: SensorServiceApiSensorServiceListSensorsRequest, options?: Configuration): Promise { + return this.api.sensorServiceListSensors(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceSensorsLogs(param: SensorServiceApiSensorServiceSensorsLogsRequest, options?: Configuration): Promise { + return this.api.sensorServiceSensorsLogs(param.namespace, param.name, param.triggerName, param.grep, param.podLogOptionsContainer, param.podLogOptionsFollow, param.podLogOptionsPrevious, param.podLogOptionsSinceSeconds, param.podLogOptionsSinceTimeSeconds, param.podLogOptionsSinceTimeNanos, param.podLogOptionsTimestamps, param.podLogOptionsTailLines, param.podLogOptionsLimitBytes, param.podLogOptionsInsecureSkipTLSVerifyBackend, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceUpdateSensor(param: SensorServiceApiSensorServiceUpdateSensorRequest, options?: Configuration): Promise { + return this.api.sensorServiceUpdateSensor(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public sensorServiceWatchSensors(param: SensorServiceApiSensorServiceWatchSensorsRequest, options?: Configuration): Promise { + return this.api.sensorServiceWatchSensors(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + +} + +import { ObservableWorkflowServiceApi } from "./ObservableAPI"; +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; + +export interface WorkflowServiceApiWorkflowServiceCreateWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceCreateWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowCreateRequest + * @memberof WorkflowServiceApiworkflowServiceCreateWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest +} + +export interface WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + name: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + deleteOptionsDryRun?: Array + /** + * + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceDeleteWorkflow + */ + force?: boolean +} + +export interface WorkflowServiceApiWorkflowServiceGetWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + name: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + getOptionsResourceVersion?: string + /** + * Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". + * @type string + * @memberof WorkflowServiceApiworkflowServiceGetWorkflow + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServiceLintWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceLintWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowLintRequest + * @memberof WorkflowServiceApiworkflowServiceLintWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest +} + +export interface WorkflowServiceApiWorkflowServiceListWorkflowsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + listOptionsContinue?: string + /** + * Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". + * @type string + * @memberof WorkflowServiceApiworkflowServiceListWorkflows + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServicePodLogsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + name: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + podName: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + logOptionsInsecureSkipTLSVerifyBackend?: boolean + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + grep?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServicePodLogs + */ + selector?: string +} + +export interface WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest + * @memberof WorkflowServiceApiworkflowServiceResubmitWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest +} + +export interface WorkflowServiceApiWorkflowServiceResumeWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowResumeRequest + * @memberof WorkflowServiceApiworkflowServiceResumeWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest +} + +export interface WorkflowServiceApiWorkflowServiceRetryWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowRetryRequest + * @memberof WorkflowServiceApiworkflowServiceRetryWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest +} + +export interface WorkflowServiceApiWorkflowServiceSetWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSetRequest + * @memberof WorkflowServiceApiworkflowServiceSetWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest +} + +export interface WorkflowServiceApiWorkflowServiceStopWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowStopRequest + * @memberof WorkflowServiceApiworkflowServiceStopWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest +} + +export interface WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSubmitWorkflow + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest + * @memberof WorkflowServiceApiworkflowServiceSubmitWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest +} + +export interface WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest + * @memberof WorkflowServiceApiworkflowServiceSuspendWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest +} + +export interface WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest + * @memberof WorkflowServiceApiworkflowServiceTerminateWorkflow + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest +} + +export interface WorkflowServiceApiWorkflowServiceWatchEventsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchEvents + */ + listOptionsContinue?: string +} + +export interface WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + listOptionsContinue?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWatchWorkflows + */ + fields?: string +} + +export interface WorkflowServiceApiWorkflowServiceWorkflowLogsRequest { + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + name: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + podName?: string + /** + * The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsContainer?: string + /** + * Follow the log stream of the pod. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsFollow?: boolean + /** + * Return previous terminated container logs. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsPrevious?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceTimeSeconds?: string + /** + * 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. + * @type number + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsSinceTimeNanos?: number + /** + * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsTimestamps?: boolean + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsTailLines?: string + /** + * 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. + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsLimitBytes?: string + /** + * 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. + * @type boolean + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + logOptionsInsecureSkipTLSVerifyBackend?: boolean + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + grep?: string + /** + * + * @type string + * @memberof WorkflowServiceApiworkflowServiceWorkflowLogs + */ + selector?: string +} + +export class ObjectWorkflowServiceApi { + private api: ObservableWorkflowServiceApi + + public constructor(configuration: Configuration, requestFactory?: WorkflowServiceApiRequestFactory, responseProcessor?: WorkflowServiceApiResponseProcessor) { + this.api = new ObservableWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public workflowServiceCreateWorkflow(param: WorkflowServiceApiWorkflowServiceCreateWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceCreateWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceDeleteWorkflow(param: WorkflowServiceApiWorkflowServiceDeleteWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceDeleteWorkflow(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, param.force, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceGetWorkflow(param: WorkflowServiceApiWorkflowServiceGetWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceGetWorkflow(param.namespace, param.name, param.getOptionsResourceVersion, param.fields, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceLintWorkflow(param: WorkflowServiceApiWorkflowServiceLintWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceLintWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceListWorkflows(param: WorkflowServiceApiWorkflowServiceListWorkflowsRequest, options?: Configuration): Promise { + return this.api.workflowServiceListWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.fields, options).toPromise(); + } + + /** + * DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. + * @param param the request object + */ + public workflowServicePodLogs(param: WorkflowServiceApiWorkflowServicePodLogsRequest, options?: Configuration): Promise { + return this.api.workflowServicePodLogs(param.namespace, param.name, param.podName, param.logOptionsContainer, param.logOptionsFollow, param.logOptionsPrevious, param.logOptionsSinceSeconds, param.logOptionsSinceTimeSeconds, param.logOptionsSinceTimeNanos, param.logOptionsTimestamps, param.logOptionsTailLines, param.logOptionsLimitBytes, param.logOptionsInsecureSkipTLSVerifyBackend, param.grep, param.selector, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceResubmitWorkflow(param: WorkflowServiceApiWorkflowServiceResubmitWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceResubmitWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceResumeWorkflow(param: WorkflowServiceApiWorkflowServiceResumeWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceResumeWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceRetryWorkflow(param: WorkflowServiceApiWorkflowServiceRetryWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceRetryWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSetWorkflow(param: WorkflowServiceApiWorkflowServiceSetWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSetWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceStopWorkflow(param: WorkflowServiceApiWorkflowServiceStopWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceStopWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSubmitWorkflow(param: WorkflowServiceApiWorkflowServiceSubmitWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSubmitWorkflow(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceSuspendWorkflow(param: WorkflowServiceApiWorkflowServiceSuspendWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceSuspendWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceTerminateWorkflow(param: WorkflowServiceApiWorkflowServiceTerminateWorkflowRequest, options?: Configuration): Promise { + return this.api.workflowServiceTerminateWorkflow(param.namespace, param.name, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWatchEvents(param: WorkflowServiceApiWorkflowServiceWatchEventsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWatchEvents(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWatchWorkflows(param: WorkflowServiceApiWorkflowServiceWatchWorkflowsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWatchWorkflows(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, param.fields, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowServiceWorkflowLogs(param: WorkflowServiceApiWorkflowServiceWorkflowLogsRequest, options?: Configuration): Promise { + return this.api.workflowServiceWorkflowLogs(param.namespace, param.name, param.podName, param.logOptionsContainer, param.logOptionsFollow, param.logOptionsPrevious, param.logOptionsSinceSeconds, param.logOptionsSinceTimeSeconds, param.logOptionsSinceTimeNanos, param.logOptionsTimestamps, param.logOptionsTailLines, param.logOptionsLimitBytes, param.logOptionsInsecureSkipTLSVerifyBackend, param.grep, param.selector, options).toPromise(); + } + +} + +import { ObservableWorkflowTemplateServiceApi } from "./ObservableAPI"; +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceCreateWorkflowTemplate + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceCreateWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + name: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsGracePeriodSeconds?: string + /** + * Specifies the target UID. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPreconditionsUid?: string + /** + * Specifies the target ResourceVersion +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPreconditionsResourceVersion?: string + /** + * 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. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsOrphanDependents?: boolean + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsPropagationPolicy?: string + /** + * 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. + * @type Array<string> + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceDeleteWorkflowTemplate + */ + deleteOptionsDryRun?: Array +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + namespace: string + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + name: string + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceGetWorkflowTemplate + */ + getOptionsResourceVersion?: string +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceLintWorkflowTemplate + */ + namespace: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceLintWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + namespace: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsLabelSelector?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsFieldSelector?: string + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsWatch?: boolean + /** + * 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. + * @type boolean + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsAllowWatchBookmarks?: boolean + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsResourceVersion?: string + /** + * 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 + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsResourceVersionMatch?: string + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsTimeoutSeconds?: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsLimit?: string + /** + * 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. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceListWorkflowTemplates + */ + listOptionsContinue?: string +} + +export interface WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest { + /** + * + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + namespace: string + /** + * DEPRECATED: This field is ignored. + * @type string + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + name: string + /** + * + * @type IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest + * @memberof WorkflowTemplateServiceApiworkflowTemplateServiceUpdateWorkflowTemplate + */ + body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest +} + +export class ObjectWorkflowTemplateServiceApi { + private api: ObservableWorkflowTemplateServiceApi + + public constructor(configuration: Configuration, requestFactory?: WorkflowTemplateServiceApiRequestFactory, responseProcessor?: WorkflowTemplateServiceApiResponseProcessor) { + this.api = new ObservableWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceCreateWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceCreateWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceCreateWorkflowTemplate(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceDeleteWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceDeleteWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceDeleteWorkflowTemplate(param.namespace, param.name, param.deleteOptionsGracePeriodSeconds, param.deleteOptionsPreconditionsUid, param.deleteOptionsPreconditionsResourceVersion, param.deleteOptionsOrphanDependents, param.deleteOptionsPropagationPolicy, param.deleteOptionsDryRun, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceGetWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceGetWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceGetWorkflowTemplate(param.namespace, param.name, param.getOptionsResourceVersion, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceLintWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceLintWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceLintWorkflowTemplate(param.namespace, param.body, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceListWorkflowTemplates(param: WorkflowTemplateServiceApiWorkflowTemplateServiceListWorkflowTemplatesRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceListWorkflowTemplates(param.namespace, param.listOptionsLabelSelector, param.listOptionsFieldSelector, param.listOptionsWatch, param.listOptionsAllowWatchBookmarks, param.listOptionsResourceVersion, param.listOptionsResourceVersionMatch, param.listOptionsTimeoutSeconds, param.listOptionsLimit, param.listOptionsContinue, options).toPromise(); + } + + /** + * @param param the request object + */ + public workflowTemplateServiceUpdateWorkflowTemplate(param: WorkflowTemplateServiceApiWorkflowTemplateServiceUpdateWorkflowTemplateRequest, options?: Configuration): Promise { + return this.api.workflowTemplateServiceUpdateWorkflowTemplate(param.namespace, param.name, param.body, options).toPromise(); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/types/ObservableAPI.ts b/plugins/argo-workflows/src/api/generated/types/ObservableAPI.ts new file mode 100644 index 0000000..c986707 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/types/ObservableAPI.ts @@ -0,0 +1,2371 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' +import { Observable, of, from } from '../rxjsStub'; +import {mergeMap, map} from '../rxjsStub'; +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; + +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; +export class ObservableArchivedWorkflowServiceApi { + private requestFactory: ArchivedWorkflowServiceApiRequestFactory; + private responseProcessor: ArchivedWorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ArchivedWorkflowServiceApiRequestFactory, + responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ArchivedWorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ArchivedWorkflowServiceApiResponseProcessor(); + } + + /** + * @param uid + * @param namespace + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceDeleteArchivedWorkflow(uid, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceDeleteArchivedWorkflow(rsp))); + })); + } + + /** + * @param uid + * @param namespace + * @param name + */ + public archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceGetArchivedWorkflow(uid, namespace, name, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceGetArchivedWorkflow(rsp))); + })); + } + + /** + * @param namespace + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflowLabelKeys(rsp))); + })); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflowLabelValues(rsp))); + })); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namePrefix?: string, namespace?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namePrefix, namespace, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceListArchivedWorkflows(rsp))); + })); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceResubmitArchivedWorkflow(uid, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceResubmitArchivedWorkflow(rsp))); + })); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.archivedWorkflowServiceRetryArchivedWorkflow(uid, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.archivedWorkflowServiceRetryArchivedWorkflow(rsp))); + })); + } + +} + +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; +export class ObservableArtifactServiceApi { + private requestFactory: ArtifactServiceApiRequestFactory; + private responseProcessor: ArtifactServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ArtifactServiceApiRequestFactory, + responseProcessor?: ArtifactServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ArtifactServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ArtifactServiceApiResponseProcessor(); + } + + /** + * Get an artifact. + * @param namespace + * @param idDiscriminator + * @param id + * @param nodeId + * @param artifactName + * @param artifactDiscriminator + */ + public artifactServiceGetArtifactFile(namespace: string, idDiscriminator: 'workflow' | 'archived-workflows ', id: string, nodeId: string, artifactName: string, artifactDiscriminator: 'outputs', _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetArtifactFile(namespace, idDiscriminator, id, nodeId, artifactName, artifactDiscriminator, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetArtifactFile(rsp))); + })); + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetInputArtifact(rsp))); + })); + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetInputArtifactByUID(uid, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetInputArtifactByUID(rsp))); + })); + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetOutputArtifact(rsp))); + })); + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.artifactServiceGetOutputArtifactByUID(rsp))); + })); + } + +} + +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; +export class ObservableClusterWorkflowTemplateServiceApi { + private requestFactory: ClusterWorkflowTemplateServiceApiRequestFactory; + private responseProcessor: ClusterWorkflowTemplateServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, + responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ClusterWorkflowTemplateServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ClusterWorkflowTemplateServiceApiResponseProcessor(); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(rsp))); + })); + } + + /** + * @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 clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(rsp))); + })); + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(rsp))); + })); + } + +} + +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; +export class ObservableCronWorkflowServiceApi { + private requestFactory: CronWorkflowServiceApiRequestFactory; + private responseProcessor: CronWorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CronWorkflowServiceApiRequestFactory, + responseProcessor?: CronWorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new CronWorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new CronWorkflowServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceCreateCronWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceCreateCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceDeleteCronWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceDeleteCronWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceDeleteCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceGetCronWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceGetCronWorkflow(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceGetCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceLintCronWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceLintCronWorkflow(rsp))); + })); + } + + /** + * @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 cronWorkflowServiceListCronWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceListCronWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceListCronWorkflows(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceResumeCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceResumeCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceSuspendCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceSuspendCronWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.cronWorkflowServiceUpdateCronWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.cronWorkflowServiceUpdateCronWorkflow(rsp))); + })); + } + +} + +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; +export class ObservableEventServiceApi { + private requestFactory: EventServiceApiRequestFactory; + private responseProcessor: EventServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: EventServiceApiRequestFactory, + responseProcessor?: EventServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new EventServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new EventServiceApiResponseProcessor(); + } + + /** + * @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 eventServiceListWorkflowEventBindings(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventServiceListWorkflowEventBindings(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventServiceListWorkflowEventBindings(rsp))); + })); + } + + /** + * @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 eventServiceReceiveEvent(namespace: string, discriminator: string, body: any, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventServiceReceiveEvent(namespace, discriminator, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventServiceReceiveEvent(rsp))); + })); + } + +} + +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; +export class ObservableEventSourceServiceApi { + private requestFactory: EventSourceServiceApiRequestFactory; + private responseProcessor: EventSourceServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: EventSourceServiceApiRequestFactory, + responseProcessor?: EventSourceServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new EventSourceServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new EventSourceServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceCreateEventSource(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceCreateEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceDeleteEventSource(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceDeleteEventSource(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceDeleteEventSource(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceEventSourcesLogs(namespace, name, eventSourceType, eventName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceEventSourcesLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + */ + public eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceGetEventSource(namespace, name, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceGetEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceListEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceListEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceListEventSources(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceUpdateEventSource(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceUpdateEventSource(rsp))); + })); + } + + /** + * @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 eventSourceServiceWatchEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.eventSourceServiceWatchEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.eventSourceServiceWatchEventSources(rsp))); + })); + } + +} + +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; +export class ObservableInfoServiceApi { + private requestFactory: InfoServiceApiRequestFactory; + private responseProcessor: InfoServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: InfoServiceApiRequestFactory, + responseProcessor?: InfoServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new InfoServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new InfoServiceApiResponseProcessor(); + } + + /** + * @param body + */ + public infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceCollectEvent(body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceCollectEvent(rsp))); + })); + } + + /** + */ + public infoServiceGetInfo(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetInfo(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetInfo(rsp))); + })); + } + + /** + */ + public infoServiceGetUserInfo(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetUserInfo(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetUserInfo(rsp))); + })); + } + + /** + */ + public infoServiceGetVersion(_options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.infoServiceGetVersion(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.infoServiceGetVersion(rsp))); + })); + } + +} + +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; +export class ObservableSensorServiceApi { + private requestFactory: SensorServiceApiRequestFactory; + private responseProcessor: SensorServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: SensorServiceApiRequestFactory, + responseProcessor?: SensorServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new SensorServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new SensorServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceCreateSensor(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceCreateSensor(rsp))); + })); + } + + /** + * @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 sensorServiceDeleteSensor(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceDeleteSensor(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceDeleteSensor(rsp))); + })); + } + + /** + * @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 sensorServiceGetSensor(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceGetSensor(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceGetSensor(rsp))); + })); + } + + /** + * @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 sensorServiceListSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceListSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceListSensors(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceSensorsLogs(namespace, name, triggerName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceSensorsLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceUpdateSensor(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceUpdateSensor(rsp))); + })); + } + + /** + * @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 sensorServiceWatchSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.sensorServiceWatchSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.sensorServiceWatchSensors(rsp))); + })); + } + +} + +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; +export class ObservableWorkflowServiceApi { + private requestFactory: WorkflowServiceApiRequestFactory; + private responseProcessor: WorkflowServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowServiceApiRequestFactory, + responseProcessor?: WorkflowServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new WorkflowServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new WorkflowServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceCreateWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceCreateWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceDeleteWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, force?: boolean, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceDeleteWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, force, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceDeleteWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceGetWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceGetWorkflow(namespace, name, getOptionsResourceVersion, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceGetWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceLintWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceLintWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceListWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceListWorkflows(rsp))); + })); + } + + /** + * 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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServicePodLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServicePodLogs(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceResubmitWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceResubmitWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceResumeWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceResumeWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceRetryWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceRetryWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSetWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSetWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceStopWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceStopWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSubmitWorkflow(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSubmitWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceSuspendWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceSuspendWorkflow(rsp))); + })); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceTerminateWorkflow(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceTerminateWorkflow(rsp))); + })); + } + + /** + * @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 workflowServiceWatchEvents(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWatchEvents(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWatchEvents(rsp))); + })); + } + + /** + * @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 workflowServiceWatchWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWatchWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWatchWorkflows(rsp))); + })); + } + + /** + * @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 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?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowServiceWorkflowLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowServiceWorkflowLogs(rsp))); + })); + } + +} + +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; +export class ObservableWorkflowTemplateServiceApi { + private requestFactory: WorkflowTemplateServiceApiRequestFactory; + private responseProcessor: WorkflowTemplateServiceApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowTemplateServiceApiRequestFactory, + responseProcessor?: WorkflowTemplateServiceApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new WorkflowTemplateServiceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new WorkflowTemplateServiceApiResponseProcessor(); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceCreateWorkflowTemplate(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceCreateWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceDeleteWorkflowTemplate(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceDeleteWorkflowTemplate(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceDeleteWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceGetWorkflowTemplate(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceGetWorkflowTemplate(namespace, name, getOptionsResourceVersion, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceGetWorkflowTemplate(rsp))); + })); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceLintWorkflowTemplate(namespace, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceLintWorkflowTemplate(rsp))); + })); + } + + /** + * @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 workflowTemplateServiceListWorkflowTemplates(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceListWorkflowTemplates(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceListWorkflowTemplates(rsp))); + })); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.workflowTemplateServiceUpdateWorkflowTemplate(namespace, name, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (let middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (let middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.workflowTemplateServiceUpdateWorkflowTemplate(rsp))); + })); + } + +} diff --git a/plugins/argo-workflows/src/api/generated/types/PromiseAPI.ts b/plugins/argo-workflows/src/api/generated/types/PromiseAPI.ts new file mode 100644 index 0000000..d10bb4d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/types/PromiseAPI.ts @@ -0,0 +1,1414 @@ +import { ResponseContext, RequestContext, HttpFile } from '../http/http'; +import { Configuration} from '../configuration' + +import { EventsourceCreateEventSourceRequest } from '../models/EventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from '../models/EventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; +import { GrpcGatewayRuntimeError } from '../models/GrpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../models/IoArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../models/IoArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../models/IoArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../models/IoArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../models/IoArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from '../models/IoArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from '../models/SensorCreateSensorRequest'; +import { SensorLogEntry } from '../models/SensorLogEntry'; +import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from '../models/SensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../models/StreamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../models/StreamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../models/StreamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from '../models/StreamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../models/StreamResultOfSensorSensorWatchEvent'; +import { ObservableArchivedWorkflowServiceApi } from './ObservableAPI'; + +import { ArchivedWorkflowServiceApiRequestFactory, ArchivedWorkflowServiceApiResponseProcessor} from "../apis/ArchivedWorkflowServiceApi"; +export class PromiseArchivedWorkflowServiceApi { + private api: ObservableArchivedWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ArchivedWorkflowServiceApiRequestFactory, + responseProcessor?: ArchivedWorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableArchivedWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param uid + * @param namespace + */ + public archivedWorkflowServiceDeleteArchivedWorkflow(uid: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceDeleteArchivedWorkflow(uid, namespace, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param namespace + * @param name + */ + public archivedWorkflowServiceGetArchivedWorkflow(uid: string, namespace?: string, name?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceGetArchivedWorkflow(uid, namespace, name, _options); + return result.toPromise(); + } + + /** + * @param namespace + */ + public archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflowLabelKeys(namespace, _options); + return result.toPromise(); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflowLabelValues(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namespace, _options); + return result.toPromise(); + } + + /** + * @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 archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namePrefix?: string, namespace?: string, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceListArchivedWorkflows(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, namePrefix, namespace, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceResubmitArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceResubmitArchivedWorkflow(uid, body, _options); + return result.toPromise(); + } + + /** + * @param uid + * @param body + */ + public archivedWorkflowServiceRetryArchivedWorkflow(uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.archivedWorkflowServiceRetryArchivedWorkflow(uid, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableArtifactServiceApi } from './ObservableAPI'; + +import { ArtifactServiceApiRequestFactory, ArtifactServiceApiResponseProcessor} from "../apis/ArtifactServiceApi"; +export class PromiseArtifactServiceApi { + private api: ObservableArtifactServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ArtifactServiceApiRequestFactory, + responseProcessor?: ArtifactServiceApiResponseProcessor + ) { + this.api = new ObservableArtifactServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * Get an artifact. + * @param namespace + * @param idDiscriminator + * @param id + * @param nodeId + * @param artifactName + * @param artifactDiscriminator + */ + public artifactServiceGetArtifactFile(namespace: string, idDiscriminator: 'workflow' | 'archived-workflows ', id: string, nodeId: string, artifactName: string, artifactDiscriminator: 'outputs', _options?: Configuration): Promise { + const result = this.api.artifactServiceGetArtifactFile(namespace, idDiscriminator, id, nodeId, artifactName, artifactDiscriminator, _options); + return result.toPromise(); + } + + /** + * Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetInputArtifact(namespace, name, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetInputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetInputArtifactByUID(uid, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifact(namespace: string, name: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetOutputArtifact(namespace, name, nodeId, artifactName, _options); + return result.toPromise(); + } + + /** + * Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public artifactServiceGetOutputArtifactByUID(uid: string, nodeId: string, artifactName: string, _options?: Configuration): Promise { + const result = this.api.artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableClusterWorkflowTemplateServiceApi } from './ObservableAPI'; + +import { ClusterWorkflowTemplateServiceApiRequestFactory, ClusterWorkflowTemplateServiceApiResponseProcessor} from "../apis/ClusterWorkflowTemplateServiceApi"; +export class PromiseClusterWorkflowTemplateServiceApi { + private api: ObservableClusterWorkflowTemplateServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: ClusterWorkflowTemplateServiceApiRequestFactory, + responseProcessor?: ClusterWorkflowTemplateServiceApiResponseProcessor + ) { + this.api = new ObservableClusterWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate(body, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate(name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceGetClusterWorkflowTemplate(name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param body + */ + public clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceLintClusterWorkflowTemplate(body, _options); + return result.toPromise(); + } + + /** + * @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 clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceListClusterWorkflowTemplates(listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + const result = this.api.clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate(name, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableCronWorkflowServiceApi } from './ObservableAPI'; + +import { CronWorkflowServiceApiRequestFactory, CronWorkflowServiceApiResponseProcessor} from "../apis/CronWorkflowServiceApi"; +export class PromiseCronWorkflowServiceApi { + private api: ObservableCronWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: CronWorkflowServiceApiRequestFactory, + responseProcessor?: CronWorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableCronWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceCreateCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceCreateCronWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceDeleteCronWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceDeleteCronWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceGetCronWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceGetCronWorkflow(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public cronWorkflowServiceLintCronWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceLintCronWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 cronWorkflowServiceListCronWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceListCronWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceResumeCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceResumeCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public cronWorkflowServiceSuspendCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceSuspendCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public cronWorkflowServiceUpdateCronWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, _options?: Configuration): Promise { + const result = this.api.cronWorkflowServiceUpdateCronWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableEventServiceApi } from './ObservableAPI'; + +import { EventServiceApiRequestFactory, EventServiceApiResponseProcessor} from "../apis/EventServiceApi"; +export class PromiseEventServiceApi { + private api: ObservableEventServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: EventServiceApiRequestFactory, + responseProcessor?: EventServiceApiResponseProcessor + ) { + this.api = new ObservableEventServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @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 eventServiceListWorkflowEventBindings(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventServiceListWorkflowEventBindings(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 eventServiceReceiveEvent(namespace: string, discriminator: string, body: any, _options?: Configuration): Promise { + const result = this.api.eventServiceReceiveEvent(namespace, discriminator, body, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableEventSourceServiceApi } from './ObservableAPI'; + +import { EventSourceServiceApiRequestFactory, EventSourceServiceApiResponseProcessor} from "../apis/EventSourceServiceApi"; +export class PromiseEventSourceServiceApi { + private api: ObservableEventSourceServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: EventSourceServiceApiRequestFactory, + responseProcessor?: EventSourceServiceApiResponseProcessor + ) { + this.api = new ObservableEventSourceServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public eventSourceServiceCreateEventSource(namespace: string, body: EventsourceCreateEventSourceRequest, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceCreateEventSource(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceDeleteEventSource(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceDeleteEventSource(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.eventSourceServiceEventSourcesLogs(namespace, name, eventSourceType, eventName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + */ + public eventSourceServiceGetEventSource(namespace: string, name: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceGetEventSource(namespace, name, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceListEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceListEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public eventSourceServiceUpdateEventSource(namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceUpdateEventSource(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 eventSourceServiceWatchEventSources(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.eventSourceServiceWatchEventSources(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableInfoServiceApi } from './ObservableAPI'; + +import { InfoServiceApiRequestFactory, InfoServiceApiResponseProcessor} from "../apis/InfoServiceApi"; +export class PromiseInfoServiceApi { + private api: ObservableInfoServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: InfoServiceApiRequestFactory, + responseProcessor?: InfoServiceApiResponseProcessor + ) { + this.api = new ObservableInfoServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param body + */ + public infoServiceCollectEvent(body: IoArgoprojWorkflowV1alpha1CollectEventRequest, _options?: Configuration): Promise { + const result = this.api.infoServiceCollectEvent(body, _options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetInfo(_options?: Configuration): Promise { + const result = this.api.infoServiceGetInfo(_options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetUserInfo(_options?: Configuration): Promise { + const result = this.api.infoServiceGetUserInfo(_options); + return result.toPromise(); + } + + /** + */ + public infoServiceGetVersion(_options?: Configuration): Promise { + const result = this.api.infoServiceGetVersion(_options); + return result.toPromise(); + } + + +} + + + +import { ObservableSensorServiceApi } from './ObservableAPI'; + +import { SensorServiceApiRequestFactory, SensorServiceApiResponseProcessor} from "../apis/SensorServiceApi"; +export class PromiseSensorServiceApi { + private api: ObservableSensorServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: SensorServiceApiRequestFactory, + responseProcessor?: SensorServiceApiResponseProcessor + ) { + this.api = new ObservableSensorServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public sensorServiceCreateSensor(namespace: string, body: SensorCreateSensorRequest, _options?: Configuration): Promise { + const result = this.api.sensorServiceCreateSensor(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceDeleteSensor(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.sensorServiceDeleteSensor(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceGetSensor(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceGetSensor(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceListSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceListSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.sensorServiceSensorsLogs(namespace, name, triggerName, grep, podLogOptionsContainer, podLogOptionsFollow, podLogOptionsPrevious, podLogOptionsSinceSeconds, podLogOptionsSinceTimeSeconds, podLogOptionsSinceTimeNanos, podLogOptionsTimestamps, podLogOptionsTailLines, podLogOptionsLimitBytes, podLogOptionsInsecureSkipTLSVerifyBackend, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public sensorServiceUpdateSensor(namespace: string, name: string, body: SensorUpdateSensorRequest, _options?: Configuration): Promise { + const result = this.api.sensorServiceUpdateSensor(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 sensorServiceWatchSensors(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.sensorServiceWatchSensors(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableWorkflowServiceApi } from './ObservableAPI'; + +import { WorkflowServiceApiRequestFactory, WorkflowServiceApiResponseProcessor} from "../apis/WorkflowServiceApi"; +export class PromiseWorkflowServiceApi { + private api: ObservableWorkflowServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowServiceApiRequestFactory, + responseProcessor?: WorkflowServiceApiResponseProcessor + ) { + this.api = new ObservableWorkflowServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceCreateWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceCreateWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceDeleteWorkflow(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, force?: boolean, _options?: Configuration): Promise { + const result = this.api.workflowServiceDeleteWorkflow(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, force, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceGetWorkflow(namespace: string, name: string, getOptionsResourceVersion?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceGetWorkflow(namespace, name, getOptionsResourceVersion, fields, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceLintWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceLintWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceListWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + return result.toPromise(); + } + + /** + * 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 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?: Configuration): Promise { + const result = this.api.workflowServicePodLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResubmitWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceResubmitWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceResumeWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceResumeWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceRetryWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceRetryWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSetWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSetWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceStopWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceStopWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowServiceSubmitWorkflow(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSubmitWorkflow(namespace, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceSuspendWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceSuspendWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name + * @param body + */ + public workflowServiceTerminateWorkflow(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, _options?: Configuration): Promise { + const result = this.api.workflowServiceTerminateWorkflow(namespace, name, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceWatchEvents(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceWatchEvents(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @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 workflowServiceWatchWorkflows(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, _options?: Configuration): Promise { + const result = this.api.workflowServiceWatchWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, _options); + return result.toPromise(); + } + + /** + * @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 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?: Configuration): Promise { + const result = this.api.workflowServiceWorkflowLogs(namespace, name, podName, logOptionsContainer, logOptionsFollow, logOptionsPrevious, logOptionsSinceSeconds, logOptionsSinceTimeSeconds, logOptionsSinceTimeNanos, logOptionsTimestamps, logOptionsTailLines, logOptionsLimitBytes, logOptionsInsecureSkipTLSVerifyBackend, grep, selector, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableWorkflowTemplateServiceApi } from './ObservableAPI'; + +import { WorkflowTemplateServiceApiRequestFactory, WorkflowTemplateServiceApiResponseProcessor} from "../apis/WorkflowTemplateServiceApi"; +export class PromiseWorkflowTemplateServiceApi { + private api: ObservableWorkflowTemplateServiceApi + + public constructor( + configuration: Configuration, + requestFactory?: WorkflowTemplateServiceApiRequestFactory, + responseProcessor?: WorkflowTemplateServiceApiResponseProcessor + ) { + this.api = new ObservableWorkflowTemplateServiceApi(configuration, requestFactory, responseProcessor); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceCreateWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceCreateWorkflowTemplate(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceDeleteWorkflowTemplate(namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceDeleteWorkflowTemplate(namespace, name, deleteOptionsGracePeriodSeconds, deleteOptionsPreconditionsUid, deleteOptionsPreconditionsResourceVersion, deleteOptionsOrphanDependents, deleteOptionsPropagationPolicy, deleteOptionsDryRun, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceGetWorkflowTemplate(namespace: string, name: string, getOptionsResourceVersion?: string, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceGetWorkflowTemplate(namespace, name, getOptionsResourceVersion, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param body + */ + public workflowTemplateServiceLintWorkflowTemplate(namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceLintWorkflowTemplate(namespace, body, _options); + return result.toPromise(); + } + + /** + * @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 workflowTemplateServiceListWorkflowTemplates(namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceListWorkflowTemplates(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, _options); + return result.toPromise(); + } + + /** + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public workflowTemplateServiceUpdateWorkflowTemplate(namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, _options?: Configuration): Promise { + const result = this.api.workflowTemplateServiceUpdateWorkflowTemplate(namespace, name, body, _options); + return result.toPromise(); + } + + +} + + + diff --git a/plugins/argo-workflows/src/api/generated/util.ts b/plugins/argo-workflows/src/api/generated/util.ts new file mode 100644 index 0000000..96ea3df --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/util.ts @@ -0,0 +1,37 @@ +/** + * Returns if a specific http code is in a given code range + * where the code range is defined as a combination of digits + * and "X" (the letter X) with a length of 3 + * + * @param codeRange string with length 3 consisting of digits and "X" (the letter X) + * @param code the http status code to be checked against the code range + */ +export function isCodeInRange(codeRange: string, code: number): boolean { + // This is how the default value is encoded in OAG + if (codeRange === "0") { + return true; + } + if (codeRange == code.toString()) { + return true; + } else { + const codeString = code.toString(); + if (codeString.length != codeRange.length) { + return false; + } + for (let i = 0; i < codeString.length; i++) { + if (codeRange.charAt(i) != "X" && codeRange.charAt(i) != codeString.charAt(i)) { + return false; + } + } + return true; + } +} + +/** +* Returns if it can consume form +* +* @param consumes array +*/ +export function canConsumeForm(contentTypes: string[]): boolean { + return contentTypes.indexOf('multipart/form-data') !== -1 +} diff --git a/plugins/argo-workflows/src/api/indext.ts b/plugins/argo-workflows/src/api/indext.ts index 12c7d4e..d6954ca 100644 --- a/plugins/argo-workflows/src/api/indext.ts +++ b/plugins/argo-workflows/src/api/indext.ts @@ -5,6 +5,7 @@ import { } from '@backstage/core-plugin-api'; import {KubernetesApi } from "@backstage/plugin-kubernetes"; +import {createConfiguration, ServerConfiguration, WorkflowServiceApi} from "./generated"; const API_VERSION = 'argoproj.io/v1alpha1' @@ -15,7 +16,8 @@ export const argoWorkflowsApiRef = createApiRef({ export interface ArgoWorkflowsApi { discoveryApi: DiscoveryApi kubernetesApi: KubernetesApi - getWorkflows(clusterName: string | undefined, namespace: string | undefined, labels: string | undefined): Promise + getWorkflowsFromK8s(clusterName: string | undefined, namespace: string | undefined, labels: string | undefined): Promise + getWorkflows(name: string): Promise } type Metadata = { @@ -54,7 +56,36 @@ export class ArgoWorkflows implements ArgoWorkflowsApi { this.oauthRequestApi = oauthRequestApi } - async getWorkflows(clusterName: string | undefined, namespace: string | undefined, labels: string | undefined): Promise { + async workflowsApiSvc(): Promise { + const proxyUrl = await this.discoveryApi.getBaseUrl('proxy') + const svcConf = createConfiguration({ + baseServer: new ServerConfiguration(proxyUrl, {}) + }) + return new WorkflowServiceApi(svcConf) + } + async getWorkflows(namespace: string | undefined, labels: string | undefined): Promise { + const svc = await this.workflowsApiSvc() + const ns = namespace !== undefined ? namespace : 'default' + const ops = { + namespace: ns, + listOptionsLabelSelector: labels, + listOptionsTimeoutSeconds: "30" + } + + const resp = await svc.workflowServiceListWorkflows( + ops.namespace, + ops.listOptionsLabelSelector, + undefined, + undefined, + undefined, + undefined, + undefined, + ops.listOptionsTimeoutSeconds + ) + + } + + async getWorkflowsFromK8s(clusterName: string | undefined, namespace: string | undefined, labels: string | undefined): Promise { const ns = namespace !== undefined ? namespace : 'default' const path = `/apis/${API_VERSION}/namespaces/${ns}/${WORKFLOW_PLURAL}` const query = new URLSearchParams()